I have got a docker container running a java process which the Resident Size (RSS) keeps getting up (1GB+), even if the MaxHeapMemory is set to 128m. There are no threads being created (they are 32), the are no classes being loaded (~5000).
I am using JNI to communicate to Chromium Embedded Framework (jcef)
Profiling the JVM, it consumes 128M for Heap and about 50M for Non-Heap.
It takes about a day to get to 1GB, however it never stops growing.
Curious thing: if I run it on OSX without docker, the memory stays fine.
Anyone have had this problem before? Any bug in libc for instance? Any hint?
Best,