JATOS running on server keeps shutting down - java.lang.OutOfMemoryError
I am running JATOS on an AWS server. A couple days ago, our AWS volume ran out of space, and I expanded it accordingly. I also performed some Ubuntu updates.
We restarted JATOS as usual (using systemd), but after some time, JATOS keeps shutting down again. Looking in the application logs, I am seeing a 'java.lang.OutOfMemoryError: Java heap space' error.
Would you know how to solve this? Thanks!
Comments
Hi,
'java.lang.OutOfMemoryError' means that your JVM doesn't have enough memory. How much memory does your AWS instance have? It's strange that this happened after you did some housekeeping. Did you maybe reduce the memory while you expanded the disk space (I'm just guessing)? Or do you run another application next to JATOS that eats up memory? Of course it's possible that the Ubuntu updates installed newer versions of system programs that use more memory now and before your memory was just enough to run JATOS, now it's not anymore. I can't really give good advice without seeing the system :(.
Best,
Kristian
Thanks! I decided to simply create a fresh Ubuntu instance and redo my JATOS install, and the issues have disappeared. No clue what had caused them before.