Memory errors
Posted: 13 Mar 2007, 17:40
My server is currently running 18 games with up to a few users in each. I've refactored the whole thing to live in a single zone extension. There is very little data that remains in memory outside the scope of a function.
However I still get memory errors after the server has been running for a while (~8hrs).
This seems to be happening in the interval which controls the clock for the game instances. It runs every second and most of the time does nothing -- but sometimes ends a "round" of the game when the game logic dictates.
The memory usage is about 58MB right now, with 32 threads running. How can I troubleshoot this?
However I still get memory errors after the server has been running for a while (~8hrs).
Code: Select all
Exception in thread "Timer-13" java.lang.OutOfMemoryError: Java heap space
Exception in thread "selector" java.lang.OutOfMemoryError: Java heap space
2007-03-12 16:54:39.849::WARN: EXCEPTION
java.lang.OutOfMemoryError: Java heap space
Exception in thread "extensionReloader" java.lang.OutOfMemoryError: Java heap spaceThe memory usage is about 58MB right now, with 32 threads running. How can I troubleshoot this?