[SOLVED] Issues with zwave controller and OutOfMemory after switching to docker and OH 2.5.1

You likely have an invalid addon listed in addons.config in the userdata folder. The loader then restarts all addons every minute trying to load the invalid one.
One common culprit is restdocs since it moved from misc to ui. Stop OH before editing addons.config since it is usually maintained by OH.

Also, please use code fences.
How to use code fences - Tutorials & Examples - openHAB Community