Closed 3daystoday closed 3 years ago
Looks like you have a library with a lot of items so the default allocated memory of 256MB is not enough and causes Java to run out of memory. Something similar ever happned in #25. The solution is to set the docker environment variable JVM_MAX_HEAP
to 512m
to increase the amount of memory that Java can access. If it crashes again (which I don't believe) just increase it to 1g
. Let me know how it works for you!
Edit: The JVM starts up in a way that unused memory is given back to the OS. So If it hits 512MB at a peak it will slim down to 30-50MB while idling again.
I guess the library is starting to grow a bit heh, but that did the trick, thanks a lot! It's now working as it should again! :)
Hi,
I've done no changes to my setup, and it's been running fine before, but just recently noticed that the docker was stopped with this error in the log, any idea as to what could be wrong. I have a hard time figuring it out from the log: