OpenHAB 2.5 upgrade caused high CPU utilization

Host: Ubuntu 18.04
openHAB is installed in LXC/LXD container: Ubuntu 18.04

After 2.4 upgrade to 2.5 openHAB hogs CPU like crazy. The whole server is bogged down by this app.

openHAB 2.4 used 8 GB of RAM but it wasn’t so aggressive on CPU.