Open ph1l opened 7 years ago
This can happen with Hawtio enabled, especially if you are running on a RPi. Hawtio uses quite a bit of ram when you are watching for a long time. I think the act of watching causes JMX or jolokia to hold onto all the messages etc, so they can be accessed. Best option is to run hawtio only on a PC and set a decent amount of java memory (-Xmx1024M). You can still use it on the RPi, as signalk-java will run the jolokia client when hawtio=false in the config. Then if you run the standalone version of hawtio you can connect remotely to the RPi. See hawtio site
long running server instance runs out of memory: