Are there any benefits to keeping MaxPermSize small?
Assuming a 64-bit JVM, is there any significant benefit to keeping MaxPermSize small? This is in the context of a Java EE application that is frequently redeployed, and has a classloader leak. As a medium-term workaround, it seems very reasonable to just bump up MaxPermSize to an absurd value - as long as it won't blow out the disk swap space. Because the undeployed app's code is nearly all unused (apart from that involved in the leak), it's paged out by the operating system. So the load on physical memory from undeployed detritus seems negligible; this has been verified by observing RSS (the