Garbage Collection Not Firing
We are having a bit of time with running out of memory. We have an application used by several hundred people at a time. It's fairly complicated OLTP business logic. We moved from CF 5 to CF 8 last fall. We are currently running 8.0 on a VM, Windows 2003.
The JVM settings were left alone, with the difference that I set maximum memory to 1024, and starting memory to 512.
What seems to happen is the used memory slowly climbs, over the space of an hour or two. On occasion, it will continue to climb until we run out of memory, and the server locks up - we either have to restart coldfusion, or reboot the server.
If I click 'run GC' on the server monitor, memory usage immediately drops down to less than 200 meg. Then it slowly builds up again. I have created a scheduled script that runs every 2 minutes, that checks used memory - if it hits 700 meg, it runs garbage collection. We'll see if this solves the problem long term, but it's still a bandaid, - if the memory is ready to be garbage collect, why is it not going?
Any suggestions would be muich appreciated. Seems different people have this problem for different reasons. I must say, CF5 was extremely stable. CF8 has been a bit more painful.
