Hi, I am using the following environment
Windows Server 2003 32 bit Apache Tomcat 7.0.27 Netbeans IDE 7.2 Metro 2.0 We have created a SOAP based web service which is calling 2 external SOAP services. We were getting OutOfMemoryError which was resloved by making the service object static. Now whenever the server memory reaches 100% one of the external service response is too slow (takes about 2-3 minutes). Restarting tomcat resolves the issue but this issue is occurring 25-26 hours interval. I am using the following jvm settings -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7Installer -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7Installer -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7Installer\endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7Installer\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7Installer\conf\logging.properties -XX:MaxPermSize=100m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=E:\topupfix\ -Xloggc:E:\topupfix\GC.log -verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9004 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false