- Platform information:
- Hardware: Pi 5 with 8 GB Ram
- Java Runtime Environment: zulu JDK 17
- openHAB version: 4.2.1
- Hardware: Pi 5 with 8 GB Ram
- Issue of the topic: hello, since I moved to openHab 4.2.1, openHab is stopping after ~ 3 days, and I have to restart manually. See below what I get with the “status” function:
sudo systemctl status openhab.service
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; disabled; preset: enabled)
Active: active (running) since Sun 2024-09-29 10:09:40 CEST; 3 days ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 10670 (java)
Tasks: 149 (limit: 4915)
CPU: 13h 59min 43.774s
CGroup: /system.slice/openhab.service
└─10670 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.cm.dir=/var/lib/openhab/confi>
Okt 03 09:35:34 raspberrypi karaf[10670]: Exception in thread "OH-common-11044" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:35:34 raspberrypi karaf[10670]: Exception in thread "OH-common-11063" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:35:36 raspberrypi karaf[10670]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "OH-common-11053"
Okt 03 09:35:37 raspberrypi karaf[10670]: Exception in thread "OH-scheduler-6169" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:35:37 raspberrypi karaf[10670]: Exception in thread "UDP-Receiver-0.0.0.0/0.0.0.0:5683[0]" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:35:37 raspberrypi karaf[10670]: Exception in thread "jupnp-jetty-client-666" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:36:04 raspberrypi karaf[10670]: Exception in thread ":CoapEndpoint-UDP-224.0.1.187:5683#1" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:36:06 raspberrypi karaf[10670]: Exception in thread "OH-common-11067" Exception in thread "OH-common-11064" java.lang.OutOfMemoryError: Java heap space
Okt 03 09:36:06 raspberrypi karaf[10670]: java.lang.OutOfMemoryError: Java heap space
Okt 03 09:36:23 raspberrypi karaf[10670]: org.ops4j.pax.logging.pax-logging-api [log4j2] ERROR : An exception occurred processing Appender OSGI
If anyone has an idea how to solve it, I would be extremely grateful!
Thank you in advance for your expert support!