I've inherited a sub optimal performing application; so I'm trying to pinpoint why this app isn't as performant as thought.
The host/machine has 32GB of ram. The app has been started with -Xmx20480m (rougly 20GB)
Using htop I see the app has a VIRT memory of 21.7Gb and RES of ~16GB. This leads me to believe the app is using only ~16GB of the allocated memory, but is using 25GB of virtual memory; something I find very odd.
Does this mean it's swapping?
Why isn't it using the full 20GB?
How I can analyze this further?