Hi everybody,
I moved to OH3 (rel. 3.2.0) in january; I started with a new clean installation.
After a few days I got my first crash due to “java.lang.OutOfMemoryError: Java heap space” and since then I’m getting this error every 5 days.
I first tried to disable all my DSL rules (as suggested in a similar post) and then I tried to stop all the bindings, but noting changed (with all bindings and rules off, I’m still getting the error every 6 or 7 days…).
I’m monitoring heap space with Openhab System Info binding and I can see heap used percentage growing day by day…
Next I’ll try to disable rrd4j persistence, then I’ve no other ideas…
You disabled all your DSL rules, do you have any rules in other languages? Then you stop all the binding… and it is still crashing? What is still running?
No rules running, no bindings running and still crashing… something else is buggered up
What is hardware platform? What is host operating system? Details on set up please. Also, what else is running on the host?
Typically heap space gets consumed because of a memory leak in a buggy binding. If you have all bindings stopped and it still crashes, something bigger is broken
Are the DSL rules file based or created in the UI?
When you said you ‘disabled’ your DSL rules do you mean disable in the UI?
Sorry but the only thing I can think of is the installation didn’t work properly somehow and wipe it and try again. Back everything up first
I sorry things aren’t working for you, lots of other folks run the same version so we’d hear about it if something was this wrong. This type of issue overall is very rare.