Understand the RSS of a JVM leveraging the horsepower underneath ps with the help of one or two JVM diagnostic command.
MaxRamPercentage is not what I wished for
This entry has been marinating for most of the year 2020. I should have published this opinion way earlier maybe end of 2019, but it took me time to realise I should split a bigger piece in smaller articles that hopefully made sense on their own.
Reads network addresses in /proc
If you happen to be on a read only container that doesn’t have the usual network utilities, like netstat, ss (socket stat), lsof, etc then your only option is to leverage procfs, however procfs displays some data in hexadecimal.
Using JDK FlightRecorder and JDK Mission Control
JDK Flight Recorder, the profiler you can use in production, continuously. Flight Recorder has been available before in the JDK, e.g. it shipped as part of the JDK 8, but to use it, it demanded a to set specific commercial VM flags to unlock FlightRecorder, this is not anymore necessary with Java 11.