OOM after running smoothly for a while

  • raspberry Pi 3
  • openhabian 1.4
  • stable 2.3

System getting slow in response and some rules didnt fire so I took a look:

[08:41:22] openhabian@openHAB2:~$ sudo /etc/init.d/openhab2 status
[sudo] Passwort für openhabian:
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-07-15 10:06:33 CEST; 1 weeks 6 days ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
 Main PID: 616 (java)
   CGroup: /system.slice/openhab2.service
           └─616 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=…in
Jul 29 08:14:28 openHAB2 karaf[616]: Exception in thread "pool-369434-thread-1"…paceJul 29 08:14:36 openHAB2 karaf[616]: java.lang.OutOfMemoryError: Java heap space
Jul 29 08:15:56 openHAB2 karaf[616]: Exception in thread "pool-369775-thread-1"…paceJul 29 08:16:12 openHAB2 karaf[616]: Exception in thread "presenceDetectionARP_…paceJul 29 08:25:15 openHAB2 karaf[616]: Exception in thread "FritzboxTr064 Refresh…paceJul 29 08:25:19 openHAB2 karaf[616]: Exception in thread "presenceDetectionARP_…paceJul 29 08:25:40 openHAB2 karaf[616]: Exception in thread "pool-369520-thread-1"…paceJul 29 08:28:09 openHAB2 karaf[616]: Exception in thread "Image Fetcher 0" java…paceJul 29 08:36:24 openHAB2 karaf[616]: Exception in thread "ComfoAir Refresh Serv…paceJul 29 08:37:14 openHAB2 karaf[616]: java.lang.OutOfMemoryError: Java heap space
Hint: Some lines were ellipsized, use -l to show in full.
[08:42:18] openhabian@openHAB2:~$

is there something I can do? restart seems Syu so the trick for now…

Search for that term, there are several other users reporting this with different solutions.

1 Like