Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "app:kunagi > session:TeamClimate"
Exception in thread "app:kunagi > session:TeamClimate" java.lang.OutOfMemoryError: Java heap space
Well - that was inevitable. Any workaround or solution?
Statement from Kunagi Team
JVM memory needs to be increased.
Issue is closed.
Tue, Mar 18, 2014, 08:27 by Witek (SM,T)
You will have to increase the JVM memory. How much memory do you have assigned to your JVM now? You can check the values on the admin page: your-kunagi-host.org/kunagi/admin.html
Tue, Mar 18, 2014, 08:44 by Karsten Jeppesen
These numbers (its a virtual machine so increasing resources is probably not a biggie):
Startup time 2014-03-17 07:24:43
Run time 1 day
Used memory 197 MB (78%)
Available memory 56 MB (22%)
Max memory 253 MB
Available processors 1
Default locale en_US
Free disk space 42 GB
And: how to increase the size?
Tue, Mar 18, 2014, 09:16 by Witek (SM,T)
253 MB is certainly not enough. Since Kunagi does not use an external database it has to store data in memory.
If you have Tomcat hosting Kunagi, you will have to increase the JVM memory which runs Tomcat. To give it 1GB you will have to pass
-Xmx1024m to the java command. How to achieve this depends on your environment. Please consult your server administrator how to configure your web application server.
Some hints, perhaps something matches your setup:
Tue, Mar 18, 2014, 09:57 by Karsten Jeppesen
Done and thanks,