In my case it was obviously related to OOM error (out of memory in Java).
Actually I have another thread with this topic:
What helped me finally was expanding the memory on my raspberry pi 3:
EXTRA_JAVA_OPTS="-Xms400m -Xmx650m"
in /etc/default/openhab2