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,
As long as they aren't in a memory scope (the session or application
scopes) they will be garbage collected when the JVM needs to do so,
after the page has finished executing.
On 11/1/06, Henry Wright [EMAIL PROTECTED] wrote:
I have a cfloop that iterates through a query and creates an object
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
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
My google talk example I posted here a few days ago shows how to do this.
If you didn't completely garbage collect you could reconnect to the gtalk
server.
becomes xmppconnection becomes == undefined
StructDelete(application,XMPPConnection,true); becomes == NO
after you javaCast(null,null);
5 matches
Mail list logo