[jboss-user] [Performance Tuning] - Will loading the same JAR from several EARs increase PermGen

loopingrage do-not-reply at jboss.com
Thu Feb 8 21:31:31 EST 2007


I have three EARs deployed under JBoss each of which have a copy of a set of JARs. I'd like to keep these JARs at the EAR level (instead of server/lib) for reasons not worth mentioning here.

My question is: does having copies of these JARs in each EAR increase the amount of PermGen space required by the JVM?

Sample deployment structure:

foo.ear
foo.ear/lib1.jar
foo.ear/lib2.jar
foo.ear/lib3.jar
foo.ear/foo.war
foo.ear/foo.ear

bar.ear
bar.ear/lib1.jar
bar.ear/lib2.jar
bar.ear/lib3.jar
bar.ear/bar.war

blah.ear
blah.ear/lib1.jar
blah.ear/lib2.jar
blah.ear/lib3.jar
blah.ear/blah.war


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013392#4013392

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013392



More information about the jboss-user mailing list