Sitemap causing OOM?

I just got another OOM before I had a chance to enable heap profiling, here’s what “/etc/init.d/openhab2 status” say about it:

● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-01-18 11:17:58 EST; 23h ago
     Docs: http://docs.openhab.org
           https://community.openhab.org
  Process: 3565 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=0/SUCCESS)
 Main PID: 3931 (java)
    Tasks: 115
   Memory: 1.4G
      CPU: 2h 26min 32.431s
   CGroup: /system.slice/openhab2.service
           └─3931 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dope...

Jan 19 04:11:33 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-44-thread-1"
Jan 19 04:12:15 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient@938571522-54487"
Jan 19 04:13:51 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient@1205478117-54486"
Jan 19 04:14:12 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient@752566810-54492"
Jan 19 04:14:18 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient@113430139-54485"
Jan 19 04:15:11 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient@938571522-54484"
Jan 19 04:15:16 seb-server karaf[3931]: Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient@938571522-54491"
Jan 19 04:16:12 seb-server karaf[3931]: Exception in thread "pool-3958-thread-3" java.lang.OutOfMemoryError: Java heap space
Jan 19 04:16:12 seb-server karaf[3931]: Exception in thread "pool-3956-thread-1" java.lang.OutOfMemoryError: Java heap space
Jan 19 04:16:12 seb-server karaf[3931]: Exception in thread "pool-3958-thread-2" java.lang.OutOfMemoryError: Java heap space

It might be because I always keep an OpenHab tab open on my work machine? (connected to my OpenHab server at home via my personal openhab-cloud server (setup with these instructions). It’s still quite hypothetical, having the heap profiling enabled will tell me the truth (hopefully).