No leak and for Java app to process data with minimal native memory consumption.
4) What happened instead
Native memory leak to the point OOM killer acts on it. Java heap and metaspace memory are within reasonable ranges as we also used VisualVM to analyze it. This is where we had to use jemalloc and perf.
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
openjdk-11-jdk: 8-0ubuntu1~ 18.04 8-0ubuntu1~ 18.04
Installed: 11.0.16+
Candidate: 11.0.16+
3) What you expected to happen
No leak and for Java app to process data with minimal native memory consumption.
4) What happened instead
Native memory leak to the point OOM killer acts on it. Java heap and metaspace memory are within reasonable ranges as we also used VisualVM to analyze it. This is where we had to use jemalloc and perf.