Issue
- When we start our test server with -Xmx1024Mb after applying a new patch, the LPKG Index Validator is running too long and we are getting GC overhead exception, ending up in OutOfMemoryError:
-
WARN [HikariPool-1 housekeeper][HikariPool:676] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m36s726ms671µs500ns).
Exception in thread "NioBlockingSelector.BlockPoller-2" java.lang.OutOfMemoryError: Java heap space
- For us, it is not possible to disable the Validator in Production.
Environment
- DXP 7.0
Resolution
- Increase the maximum heap size to at least 3GB ( -Xmx3g) and restart the server
- Once it resolved the matter with 3Gb, you can fine-tune the JVM further.