Attaching jcmd VM.native_memory summary.diff output which shows the compiler consuming about 41 GB of RAM.
The app has a max heap of 2 GB, we thought it was native but jcmd shows it was the compiler and perf data with a perf map shows it to be the C2 Compiler.
Regardless the kernel sees it as being allocated to the Java app and so eventually the app was killed.
Attaching jcmd VM.native_memory summary.diff output which shows the compiler consuming about 41 GB of RAM.
The app has a max heap of 2 GB, we thought it was native but jcmd shows it was the compiler and perf data with a perf map shows it to be the C2 Compiler.
Regardless the kernel sees it as being allocated to the Java app and so eventually the app was killed.