0

I need some help regarding interpreting the values of jstat capacity and utilization values in relation to the RSS and VSZ output from the ps command.

Summing all the values for capacity should give the total jvm memory capacity, while summing all the values for utilisation would give the total jvm memory utilisation.

I understand that total capacity >= total utilisation. However, how do these two values compare to RSS and VSZ, and if there are signification differences, what are common reasons or causes for them?

Garbage-collected heap statistics 
Column  Description
S0C     Current survivor space 0 capacity (KB).
S1C     Current survivor space 1 capacity (KB).
S0U     Survivor space 0 utilization (KB).
S1U     Survivor space 1 utilization (KB).
EC      Current eden space capacity (KB).
EU      Eden space utilization (KB).
OC      Current old space capacity (KB).
OU      Old space utilization (KB).
PC      Current permanent space capacity (KB).
PU      Permanent space utilization (KB).
YGC     Number of young generation GC Events.
YGCT    Young generation garbage collection time.
FGC     Number of full GC events.
FGCT    Full garbage collection time.
GCT     Total garbage collection time.```
hangc
  • 3,592
  • 6
  • 28
  • 58
  • 2
    In short - there is no releation. Longer answer - [this](https://stackoverflow.com/a/53624438/3448419) and [this](https://www.youtube.com/watch?v=c755fFv1Rnk) – apangin Feb 23 '22 at 11:16

0 Answers0