>
> This implies no memory re-usage within a request,
> which seems to be the consensus.


Did you let it run until you reached the maximum heap space?
20,000 is pretty tame, unless each one somehow can actually claim a good
chunk of random memory.

A query really is not a good way to test this either, since there is quite a
bit of magic behind the curtain that allows CFML access to underlying
Java/jdbc logic, so just because you have 20,000 objects each with a query
does not mean the JVM is not managing it in some arcane way and wont GC or
pagefile when it has to.

Try throwing something extreme at it just for fun-- make a new 500K block of
random text in EACH bean.

I have found that a well tuned JVM will always use most of the heap all of
the time in production.
GC only happens when needed and then it fills right back up.
If something huge is thrown at it, you see the page file activity, and JVM
manages to do the task.


-- 
/Kevin Pepperman

"They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety." - Benjamin Franklin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:331524
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to