Trying to reproduce the unbound RSS usage
Hi Andrei,
I have gone through your various presentation and videos. Great work with the async-profiler tool. I was playing with the tool and was trying to reproduce the RSS growing without any bounds issue.
I tried the sample mentioned in https://github.com/apangin/java-profiling-presentation/blob/master/src/demo10/GetImage.java, but I am not able to see a similar RSS growth. It seems like RSS always grows somewhere around/under the Xmx value and doesn't extend beyond that.
Any idea what I might be missing?
I am using openjdk 11.0.16 2022-07-19
The effect depends on many factors, specifically, OS version, JDK version, the heap size. I tested on CentOS 7 / JDK 8 / Xmx=Xms=2 to 4 GB