openHAB 3 runs out of memory / java heap space errors, CPU 100%+ after a few hours

I submitted a fix for the invalid UI DSL rule memory leak. I’m aware of one other memory leak, but it occurs much less frequently, so should not be as critical. I’ll open a separate bug report for that issue shortly.