hooihooi lim wrote:Hi,
Anyone can help on question below?
Is it mean that the maximum permanent generation size can up to 512MB if we set -XX:PermSize=512m even we did not set the *MaxPermSize*?
PermSize is the initial permanent generation size. Maximum size is by default 32m for client machines and 64 for servers. In this case, I *think* since you are not defining it, it would be taken equal to PermSize.
In my opinion, it is better to give MaxPermSize instead of PermSize so that you do not take the memory if not required.