Identifying problematic item (out of Memory / Java heap)

Thanks for the feedback @mstormi, I increased it to 900mb and here is the printout:

%Cpu(s):  1.2 us,  0.2 sy,  0.0 ni, 98.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

KiB Mem :  1000180 total,    34220 free,   677208 used,   288752 buff/cache

KiB Swap:   102396 total,   100860 free,     1536 used.   259096 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND

  541 olad      20   0  362828 318180  17256 S   3.0 31.8  46:38.26 olad

 1224 openhab   20   0  752148 318848  11348 S   2.0 31.9  81:56.28 java

20584 openhab+  20   0    9732   3288   2780 R   1.0  0.3   0:00.94 top

  394 mosquit+  20   0    6356   4244   3812 S   0.3  0.4   0:53.14 mosquitto

  672 root      20   0   28648   5472   4072 S   0.3  0.5   0:19.62 nmbd

    1 root      20   0   27088   6064   4808 S   0.0  0.6   0:05.69 systemd 

Will let you guys know when it will crash again… @NCO which version of the netatmo binding are you using?

yes, that’s working properly.

HI guys,

I have a question regarding the /etc/default/openhab2 file where the Java memory options are stored.
I am using also the recommended change here since a long time and set the EXTRA_JAVA_OPTS to an higher value.

I had now 2 times the issue that this config ist lost and the EXTRA_JAVA_OPTS are set back to default.
How can this happen? Is it overwritten when I make an update?

And also: Is this config inside the backup/restore function of openhab? I could not find it.

Thanks for your help in advanced.

Second question I just answered by myself. I made update to latest 2.5 and the canfig stay same.
So which event can overwrite it? It was definitly opverwritten 2 times since I use different values as default.

I once had the same issue and guess it was changed by one of the updates / upgrades.
However, that was just once and did not happen again.