Jonathon, >And while it definitely seems to slow down the memory consumption rate, it >still doesn't appear to be freeing up any RAM. I did some test runs, >loading some of the larger files. I saw the corresponding RAM increase, but >never seeing that memory released. > >I plan on converting it all to being database-driven, but I'm still >confused >as to why this memory isn't being released. > >Are the Queries being eliminated, but not removed from memory just yet? Is >there a way to force garbage collection while CF is running so that I could >test this theory?
Just because you're not using the memory, it doesn't mean that Java will free it up immediately. Since Garbage Collection is an expensive CPU operation, it tries to do the GC as infrequently as possible by default. You can think of Java and its Garbage Collection sort of like the Windows Recycling Bin. Just because you delete a file and put it in the Recycling Bin, it doesn't actually free up disk space right away. The file is in the Recycling Bin and still takes up disk space. Windows will eventually remove the files and reclaim the disk space when it needs to based upon your Recycling Bin settings. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295060 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4