When I say -Xmx=1024m
, does this include permgen i.e -XX:MaxPermSize=
is taken from these 1024m or it is separate?
Looking at this I thought that it takes from 1024m, but until now I had believed they were separate.
Nope, permGen space is in addition to main heap (latter capped via -Xmx on Sun VMs)