I cannot give a definite answer, but I can hazard a guess!  My
understanding of the JVM is that memory is never reclaimed in-process. 
Instead it is re-claimed the next time GC is run.

So in your example with 20 cfinvokes, I would expect a high likelihood
that all 20 instances of that object still "exist" in memory when the
request is completed but with no hard references.  They will get picked
up the next time garbage collection executes.

~Brad

-------- Original Message --------
Subject: overwriting a component reference variable
From: Michael Dinowitz <[email protected]>
Date: Tue, March 09, 2010 3:08 pm
To: cf-talk <[email protected]>


Just a fast question about components and memory so that I can be
extra exact for a chapter I'm writing on components.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to