-
1. Re: ISPN000136 (Execution error), ISPN000172 (Failed to prepare view) and OutOfMemoryError
galder.zamarreno Apr 26, 2012 7:04 AM (in response to dex80526)Same thing:
JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/java_heap"
or
JAVA_OPTS="$JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/z/Tmp/java_heap"
OOME -> generate dump -> upload it -> send us the link
-
2. Re: ISPN000136 (Execution error), ISPN000172 (Failed to prepare view) and OutOfMemoryError
dex80526 May 7, 2012 4:42 PM (in response to galder.zamarreno)Galder: the OutOfMemory issue hit again on the same IDR. The JVM/Tomcat does not crash. but the log from Infinispan says:
2012-05-07/12:38:59.383/EDT [transport-thread-18] ERROR org.infinispan.remoting.rpc.RpcManagerImpl[156] - ISPN000073: Unexpected error while replicating
java.lang.OutOfMemoryError: Java heap space
at org.jboss.marshalling.util.IdentityIntMap.resize(IdentityIntMap.java:167)
at org.jboss.marshalling.util.IdentityIntMap.put(IdentityIntMap.java:146)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:878)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:805)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159)
at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1442)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:173)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1001)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:60)
I did a java stack dump from the running instance.
I attached dump here.
-
javaStack.dump.zip 22.8 KB
-
-
3. Re: ISPN000136 (Execution error), ISPN000172 (Failed to prepare view) and OutOfMemoryError
dex80526 May 9, 2012 11:56 AM (in response to dex80526)Did anyone take a look at the dump? I saw a few threads were blocked in the dump. I'll try to provide more info if need. thanks.
-
4. Re: ISPN000136 (Execution error), ISPN000172 (Failed to prepare view) and OutOfMemoryError
galder.zamarreno May 11, 2012 11:25 AM (in response to dex80526)Dude, that's a thread dump, not a heap dump
If you add the options I suggested earlier, when the JVM crashes with an OOME, one will be generated for you.
Google is your friend...
-
5. Re: ISPN000136 (Execution error), ISPN000172 (Failed to prepare view) and OutOfMemoryError
galder.zamarreno May 11, 2012 11:27 AM (in response to galder.zamarreno)It doesn't matter that the JVM crashes. With HeapDumpOnOutOfMemoryError, if OOME, then heap dump.