We've been playing around with the CF admin settings quite a bit lately on our 
development server, and we have made some interesting observations. As many of 
you already know, 'report execution times' is an application killer in any 
heavily CFC based framework - we have had this setting turned off for some 
time. However, we have also noticed that when we run processes that take 
several minutes (10+ - we have a number of data mover processes which run for 
quite some time), the RAM usage seems to steadily increase when we have 
debugging enabled. When we disable debugging, you can see each iteration of our 
loop show up in memory (mem usage goes up about 2MB and drops back down 2MB 
every few seconds) but when debugging is disabled it never seems to free up the 
entire 2MB so the RAM usage steadily increases. 

1) Anyone know what is causing this with relation to the debugging settings. We 
would love to be able to leave debugging on if possible, but obviously system 
performance is more important.

2) When Coldfusion finally hits the heap size limit for RAM usage, it pretty 
much gives up - I'm assuming this is because it is trying to run a Full Garbage 
Collection while we're stuffing more data into RAM, and it just never actually 
completes the GC process. Can anyone recommend a GC for this type of 
processing? Are there other settings that we could tweak so that when we do hit 
the memory threshold, we're not 'dead in the water' until we give CF a restart? 

Any other thoughts would be greatly appreciated!

Jake Pilgrim 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286370
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to