Announcement Announcement Module
Collapse
No announcement yet.
memory overflow, debugging does not work in application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • memory overflow, debugging does not work in application

    Hi, I have a big problem please help me to find the solution. The application sometimes starts normally, debugging does not work. I also noticed that the application is running slower than previously.
    Code:
    2010-10-22 17:49:26 org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;D:\serwer\php\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\DivX Shared\;C:\Program Files (x86)\QuickTime\QTSystem\;D:\Serwer\mysql\bin;D:\Serwer\zend\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\jolka praca mqr\instalki\bin
    2010-10-22 17:49:26 org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jshop' did not find a matching property.
    2010-10-22 17:49:26 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    2010-10-22 17:49:26 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1441 ms
    2010-10-22 17:49:26 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    2010-10-22 17:49:26 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
    2010-10-22 17:49:27 org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jshop\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    2010-10-22 17:49:27 org.apache.catalina.session.StandardManager doLoad
    SEVERE: IOException while loading persisted sessions: java.io.EOFException
    java.io.EOFException
    	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
    	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
    	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
    	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
    	at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
    	at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
    	at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
    	at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
    	at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:519)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2010-10-22 17:49:27 org.apache.catalina.session.StandardManager start
    SEVERE: Exception loading sessions from persistent storage
    java.io.EOFException
    	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
    	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
    	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
    	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
    	at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
    	at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
    	at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
    	at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
    	at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:519)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2010-10-22 17:49:27 org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring root WebApplicationContext
    log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
    log4j:WARN Please initialize the log4j system properly.
    2010-10-22 17:49:33 org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring FrameworkServlet 'jshop'
    2010-10-22 17:49:33 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    2010-10-22 17:49:33 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    2010-10-22 17:49:33 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/28  config=null
    2010-10-22 17:49:33 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 7096 ms
    Code:
    Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
    	at java.lang.Throwable.getStackTraceElement(Native Method)
    	at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
    	at java.lang.Throwable.printStackTraceAsCause(Throwable.java:481)
    	at java.lang.Throwable.printStackTrace(Throwable.java:468)
    	at java.lang.Throwable.printStackTrace(Throwable.java:451)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421)
    Last edited by jolsys; Oct 26th, 2010, 10:34 AM.
Working...
X