Windows service uses incorrect value for MaxDirectMemorySize
#48796
Labels
>bug
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
Team:Delivery
Meta label for Delivery team
A user on the forums reported an issue with their 7.3.0 nodes hitting
java.lang.OutOfMemoryError: Direct buffer memory
frequently. The nodes were being run with-XX:MaxDirectMemorySize=536870912
despite a 6GB heap. It turned out the heap size was being set twice:-XX:MaxDirectMemorySize=536870912
would be consistent withJvmErgonomics
incorrectly picking up that the heap is1GB
rather than6GB
. I don't have a way to reproduce this to investigate further but this feels like a bug somewhere along the way.The text was updated successfully, but these errors were encountered: