0

here is the situation about jstat: 3G young,1.7G old,total about 4.7G:
the image of jstat

but,in rss situtation,it looks like that:
the image of rss

I don't know why. especially in others pods(with the same container in it), rss > java heapSize.

here is the jvm optition:

-XX:+UseG1GC, 
-XX:+UseStringDeduplication, 
-XX:-OmitStackTraceInFastThrow, 
-XX:MaxRAMPercentage=75.0,
-XX:InitialRAMPercentage=75.0, 
-XX:+PrintTenuringDistribution, 
-XX:+PrintGCDetails, 
-XX:+PrintCommandLineFlags, 
-XX:+PrintHeapAtGC, 
-XX:+PrintGCDateStamps, 
-XX:+PrintGCTimeStamps, 
-Xloggc:log/gc-%t.log,

here is the pod yml:

 resources:
      limits:
        cpu: "4"
        memory: 6Gi
      requests:
        cpu: "1"
        memory: 6Gi
Hovercraft Full Of Eels
  • 283,665
  • 25
  • 256
  • 373
Chalice
  • 1
  • 1

0 Answers0