javaspring-bootspring-cloud-functionjfrjmc

JMC Automated Analysis - App uses ~14 GB of Memory?


I am very new to Java Profiling and JMC, so I am struggling to make sense of the data:

enter image description here

This is a simple Spring Azure Function running on my 16GB system.

The JFR was collected as a continuous recording, dumped after hardly 1 min of app startup.

What am I missing here?

PC information:

OS: Windows 11 x64
Processor   11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz   2.61 GHz
Installed RAM   16.0 GB (15.7 GB usable)
System type 64-bit operating system, x64-based processor

No Docker involved.


Solution

  • The Memory usage report you showed is about your whole system including other processes. It does not say how much your app has consumed. It is perfectly normal for a system running many different processes. The OS also includes various caches, notably page cache.

    To get better overview of memory consumed by your application, click on Memory in the left navigation bar: enter image description here