jvm - How much is to much PERM in Java (1.5GB seems high) -


we run large java based application under heavy development. every 3 6 months seems have increase size of perm memory or risk running out of memory either when application starts or shortly after coming online. application hosted in jboss 4.2 , tomcat servers.

our current setting are:

-server -xms12g -xmx12g -xx:maxpermsize=1536m -xx:+useconcmarksweepgc -xx:+cmsincrementalmode

i can wonder if seems awful high.

the perm memory seems fill on startup. anywhere between 90 99% using jstat.

our web application consists of 30 plus individual war files. in jboss these deployed 1 large 300mb+ ear file.

is normal large application perm?

that hella lot of permgen space. if fills right away, implies inconceivable number of classes. there lot of duplication in libraries across 30 war files? save lot of space loading common libraries common classloader closer root, rather in each separare webapp. try installing common libraries in server directories.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -