While this will remove the reference to the object, there's no guarantee that the JVM will do a garbage collection when you do. It's most likely to if you are pushing the memory limits of the machine at the time.
On 11/1/06, Ryan Stewart <[EMAIL PROTECTED]> wrote: > If you really wanted to, you could use: > > StructDelete(structure, key [, indicatenotexisting ]) > > StructDelete ( variables, "objectKey" [, true] ) > > Ryan > > >>> [EMAIL PROTECTED] 01/11/2006 08:31 >>> > > I have a cfloop that iterates through a query and creates an object for every > userid that is returned in the query. Is there a way that I can dispose of > the object once I am finished with it so that I can free up the processor and > memory space. The loop could create up to 80 objects in any run, depending on > the number of userid's that are returned in the query. > > Any help would be appreciated. > > H > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258659 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4