I m using bullet integration SiO2/extensions/bullet/src/main/java/com/simsilica/bullet at master · Simsilica/SiO2 · GitHub
for my sim-eth-es based game. Server part is separated from app. I`ve recently added 4 basic entities which wanders, performed some basic heuristics and so on… basically some of the actions player character does. I m using jdk 8. I really do not know what part of code, dependencies, run parameters, heap dump and so on to post all i know that used heap is rapidly rising and some time ‘server’ crashes. Following happens without any connections. just to reproduce the problem run the server with -Xmx150m. Running 43 mins and after 15 mins crashes. So maybe if there is nothing wrong in is such behaviour reasonable question will be: What is the reasonable memory resource i need to have for disposal.
collect underflow FPS:1
collect underflow FPS:2
collect underflow FPS:1
collect underflow FPS:3
collect underflow FPS:2java.lang.OutOfMemoryError: Java heap space
collect underflow FPS:1
collect underflow FPS:5
Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
collect underflow FPS:4
collect underflow FPS:2
collect underflow FPS:2
Exception in thread "StateCollectionThread" java.lang.OutOfMemoryError: Java heap space
07:00:41.769 [GameLoopThread] ERROR com.simsilica.sim.GameSystemManager - Error updating systems
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Selector@0.0.0.0/0.0.0.0:4271" java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
07:01:22.011 [GameLoopThread] ERROR com.simsilica.sim.GameSystemManager - Error updating systems
java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "RMI TCP Connection(idle)"
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "GameLoopThread" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space