Can i increase Max Heap Size that JAVA uses on my Raspberry Pi 3 B+ that i use just for OpenHAB.
Now when i add additional Bindings i get java.lang.OutOfMemoryError: Java heap space
/Mike
Can i increase Max Heap Size that JAVA uses on my Raspberry Pi 3 B+ that i use just for OpenHAB.
Now when i add additional Bindings i get java.lang.OutOfMemoryError: Java heap space
/Mike
The short answer is yes, there is a -X option you can pass to the JVM. However, I don’t know if that option exists for Zulu.
However, I’m more concerned there is something wrong. There are people running massive systems and not running it of heap.
How many bindings and Iten’s do you have? How much memory is there OHb process using? Does the memory used grow over time?
It is the ipcamera binding that cause this for me.
/Mike
Hi @tnemrap have you found solution for the issue? I also started to get out of memory errors for Java heap space with installed ipcamera binding. I guess @matt1 is required to solve the issue. Perhaps there is some bug causing memory leak.
I have done a reply here
In addition I will need help narrowing down how to reproduce this and also what the cause is.
Things like this need to be looked at until the cause is found, only after the cause is found can a fix be looked at.