I am using java version "1.6.0_31" (I know old version). I am using jmap -heap to view my process's permgen usage. However, when I look at the output, I see these lines, which seem to tell me that my current permspace usage is 12MB
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 209715200 (200.0MB)
NewSize = 1048576 (1.0MB)
MaxNewSize = 4294901760 (4095.9375MB)
OldSize = 4194304 (4.0MB)
NewRatio = 2
SurvivorRatio = 8
PermSize = 12582912 (12.0MB)
MaxPermSize = 67108864 (64.0MB)
And then later in the output I see these lines, which seem to tell me that I have used about 20MB perm usage. My question is, why are these two numbers different from each other. Which is more relevant? (I am not running out of Permspace, I am just trying to understand the output).
Perm Generation:
capacity = 20447232 (19.5MB)
used = 20246088 (19.30817413330078MB)
free = 201144 (0.19182586669921875MB)