After updating to java-1.8.0-openjdk version 22.214.171.124-0.b01 on CentOS 7 we have experienced an irregular crash in which oom-killer terminates the java process after its memory consumption skyrockets beyond configured bounds. The jvm runs the Wildfly application server 10.1.0 or 9.0.2. Rolling back to 126.96.36.199-2.b16 is enough to avoid the issue.
Code: Select all
Oct 3 23:43:54 staging kernel: Out of memory: Kill process 2390 (java) score 783 or sacrifice child
Oct 3 23:43:54 staging kernel: Killed process 2390 (java) total-vm:12925660kB, anon-rss:6265036kB, file-rss:0kB, shmem-rss:0kB
The jvm is started with parameters -Xmx4096m and -XX:MaxMetaspaceSize=256m. I do not know exactly how quickly the memory usage ramped up but it wasn't visible in /proc/meminfo on a five minute sampling.