I am experiencing some odd behaviour with memory usage on a glassfish domain;
on wndows server 2003. I have about 20 messaging interfaces. When I load test
with around 1000 messages, the memory keeps growing and after about 800 the
domain grinds to a halt and the memory appears tp spring a leak (the memory
usage in task manager goes up to 1400mb) and then I get a "gc overhead limit
exceeded" out of memory error.
However, if I split the interfaces across two domains the they work perfectly
and the memory stays constant and there doesn't appear to be any leakage.
Any idea what's occurring, and how to resolve it?
Here's the server settings.
-Dcom.sun.aas.instanceRoot=D:/JavaCAPS62/appserver/domains/ABM1_17000
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=Does not
exist/lib/hadbjdbc4.jar,D:/JavaCAPS62/appserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does
not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not
exist/lib/hadbmgt.jar,D:/JavaCAPS62/appserver/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=D:/JavaCAPS62/appserver/lib/install/applications/jmsra/imqjmsra.jar,D:/JavaCAPS62/appserver/imq/lib/jaxm-api.jar,D:/JavaCAPS62/appserver/imq/lib/fscontext.jar,D:/JavaCAPS62/appserver/imq/lib/imqbroker.jar,D:/JavaCAPS62/appserver/imq/lib/imqjmx.jar,D:/JavaCAPS62/appserver/lib/ant/lib/ant.jar,D:/JavaCAPS62/appserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does
not exist/lib/dbstate.jar,Does not
exist/lib/hadbjdbc4.jar,jgroups-all.jar,D:/JavaCAPS62/appserver/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files
(x86)/Java/jdk1.6.0_11/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,D:/JavaCAPS62/appserver/imq/lib/jaxm-api.jar,D:/JavaCAPS62/appserver/imq/lib/fscontext.jar,D:/JavaCAPS62/appserver/imq/lib/imqbroker.jar,D:/JavaCAPS62/appserver/imq/lib/imqjmx.jar,D:/JavaCAPS62/appserver/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,D:/JavaCAPS62/appserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,D:/JavaCAPS62/appserver/updatecenter/lib/updatecenter.jar,D:/JavaCAPS62/appserver/jbi/lib/jbi.jar,D:/JavaCAPS62/appserver/imq/lib/imqjmx.jar,D:/JavaCAPS62/appserver/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=D:/JavaCAPS62/appserver/config
-Dcom.sun.aas.defaultLogFile=D:/JavaCAPS62/appserver/domains/ABM1_17000/logs/server.log
-Dcom.sun.aas.domainName=ABM1_17000
-Dcom.sun.aas.installRoot=D:/JavaCAPS62/appserver
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.server.logging.max_history_files=20
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.identity.amclientsdk.configpath=D:\JavaCAPS62\appserver\domains\ABM1_17000\config
-Dcom.sun.updatecenter.home=D:/JavaCAPS62/appserver/updatecenter
-Ddomain.name=ABM1_17000
-Djava.endorsed.dirs=D:/JavaCAPS62/appserver/lib/endorsed
-Djava.ext.dirs=C:/Program Files (x86)/Java/jdk1.6.0_11/lib/ext;C:/Program
Files
(x86)/Java/jdk1.6.0_11/jre/lib/ext;D:/JavaCAPS62/appserver/domains/ABM1_17000/lib/ext;D:/JavaCAPS62/appserver/javadb/lib;D:/JavaCAPS62/appserver/lib/jdbcdrivers
-Djava.library.path=D:\JavaCAPS62\appserver\lib;D:\JavaCAPS62\appserver\lib;C:\Temp;D:\JavaCAPS62\appserver\bin;D:\JavaCAPS62\appserver\bin
-Djava.security.auth.login.config=D:/JavaCAPS62/appserver/domains/ABM1_17000/config/login.conf
-Djava.security.policy=D:/JavaCAPS62/appserver/domains/ABM1_17000/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.ee.admin.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=D:/JavaCAPS62/appserver/domains/ABM1_17000/config/keystore.jks
-Djavax.net.ssl.trustStore=D:/JavaCAPS62/appserver/domains/ABM1_17000/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-XX:+UnlockDiagnosticVMOptions
-Xss128k
-XX:MaxPermSize=192m
-XX:NewRatio=2
-Xms512m
-Xmx1200m
-XX:+LogVMOutput
-XX:LogFile=D:/JavaCAPS62/appserver/domains/ABM1_17000/logs/jvm.log
--
[Message sent by forum member 'ruperty']
View Post: http://forums.java.net/node/784431