Very High Memory Usage and frequent restarts with OH4

You can increase it to a higher value. But too much memory isn’t good either. It will result in less but more ‘intense’ rounds of garbage collection (with risk of performance dips). Optimum probably depends on amount of addons and rules. I use 1 Gb.

On a 4G box you should not need to set it.

I’m now monitoring the Java Heap Size for a month and I my Pi reboots every 7 days.
The hours (12-24) before the restart I noticed that rules are no longer executed or data is not stored into influx anymore

The memory of my Pi is not getting higher than 40%

the problem is I don’t know Java at all, so I’m don’t know how to troubleshoot or fix this.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.