>You can run Garbage Collection like this: > ><cfset runtime = CreateObject("java", "java.lang.Runtime").getRuntime()> ><cfset runtime.gc()> > >YMMV > >~Brad > >Is there anyway to encourage a ColdFusion server to run garbage >collection during a long running, memory intensive process?
Does this run Garbage Collection for the whole coldfusion server? This doesn't sound like a good idea but I am going to ask, What would the ramifications be of putting that code in a scheduled task and running it every so often? I think I read before that too much garbage collection could slow things down. Randy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:324942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4