jstat : Survivor and Eden Space capacity decrease over a period
问题 Does anytime java(8) memory capacity decrease until JVM restart? I am using jstat -gc to dump memory information and here is the snapshot from two days. The second snapshot has less captaity for SC1 and EC compared to the first snapshot. Can someone help/explain why I am seeing this behavior? is that expected? Java version : java-1.8.0-openjdk-1.8.0.191.b12 sc1: survivor space 1 capacity EC: eden space capacity S0C, S1C, S0U, S1U,EC,EU,OC,OU,MC,MU,CCSC,CCSU,YGC,YGCT,FGC,FGCT,GCT 4096.0,7168.0