It might help to <cfset queryName = "" />
at the point in the page where you no longer need the query named queryName.
But I've been using CF since version 2 and never had that error. You have a REALLY big query (maybe the selection criteria could be more specific) or a really small JVM memory space (increasing mem space might help).
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]