You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running three interdependent eve-core-1.0.2 agent servlets in Tomcat 7.0.30 (even with JRE args "-Xmx512m -XX:MaxPermSize=128m"), I get PermGen memory errors at various points during execution, almost right from the start:
Exception in thread "http-bio-8080-exec-5" java.lang.OutOfMemoryError: PermGen space
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:395)
at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:113)
at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:331)
at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1356)
at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:69)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:480)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:455)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:455)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:352)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:589)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1601)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at com.almende.eve.state.ConcurrentFileState.read(ConcurrentFileState.java:139)
at com.almende.eve.state.ConcurrentFileState.get(ConcurrentFileState.java:232)
at com.almende.eve.state.AbstractState.getAgentType(AbstractState.java:60)
at com.almende.eve.agent.AgentFactory.getAgent(AgentFactory.java:268)
at com.almende.eve.agent.AgentFactory.invoke(AgentFactory.java:474)
at com.almende.eve.transport.http.AgentServlet.doPost(AgentServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
The text was updated successfully, but these errors were encountered:
I can't conclusively reproduce this issue. Current potential reasons are: the proxies, Jackson deserialization and the ObjectStreamReader in the State modules.
Is this still an issue in All4Green? Uptill now I only encountered PermGen Out-of-Memory errors when reloading the application in Jetty several times. This is due to the fact that the class definitions themselves are not dereferenced, nor garbage collected.
Is this still an issue in All4Green? Uptill now I only encountered PermGen
Out-of-Memory errors when reloading the application in Jetty several times.
This is due to the fact that the class definitions themselves are not
dereferenced, nor garbage collected.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-17718018
.
Running three interdependent eve-core-1.0.2 agent servlets in Tomcat 7.0.30 (even with JRE args "-Xmx512m -XX:MaxPermSize=128m"), I get PermGen memory errors at various points during execution, almost right from the start:
Exception in thread "http-bio-8080-exec-5" java.lang.OutOfMemoryError: PermGen space
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:395)
at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:113)
at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:331)
at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1356)
at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:69)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:480)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:455)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:455)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:352)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:589)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1601)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at com.almende.eve.state.ConcurrentFileState.read(ConcurrentFileState.java:139)
at com.almende.eve.state.ConcurrentFileState.get(ConcurrentFileState.java:232)
at com.almende.eve.state.AbstractState.getAgentType(AbstractState.java:60)
at com.almende.eve.agent.AgentFactory.getAgent(AgentFactory.java:268)
at com.almende.eve.agent.AgentFactory.invoke(AgentFactory.java:474)
at com.almende.eve.transport.http.AgentServlet.doPost(AgentServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
The text was updated successfully, but these errors were encountered: