I am running Confluence 4.3.3 (java version "1.6.0_26") with the following JVM memory parameters:
-Xms256m -Xmx2048m -XX:MaxPermSize=256m
My System Information -> Java JVM Memory Statistics typically looks like this:
I am satisfied (so far) with the Heap Size and overall system performance.
However, my concern is with the high usage of Permanent Generation Memory. I have not experiened any crashes or OutOfMemoryErrors (yet) and I'm hoping to keep it that way.
In reading knowledge base articles here and here, (and other general JVM memory usage articles) I gained a basic understanding of how PermGen memory is used (for loaded class files) and sometimes associated with plug-ins. I do not believe I'm using an inordinate number of plug-ins.
I have not been able to find a way to determine why the PermGen memory usage is so high and almost at its limit.
Are there any procedures available that I can use to find out what is the cause of such high PermGen usage? Are there strategies specifically for tuning the allocation of PermGen memory? Could this be a garbage collection issue?
Thank you for your help pointing me in the right direction.