java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 667664

hivmr.com | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.OutOfMemoryError: allocLargeObjectOrArray error for large payload

    Oracle Community | 4 years ago | 840124
    java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 667664
  2. 0

    db:: 3.10::java.lang.OutOfMemoryError: allocLargeObjectOrArray error for large payload a9

    hivmr.com | 7 months ago
    java.lang.OutOfMemoryError: allocLargeObjectOrArray: [B, size 667664
  3. 0

    Apache Activemq 5.10.2 possible memory leak?

    Stack Overflow | 7 months ago | Ame
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, I am having some difficulty with the Onyx application (versions, 1.8-SNAPSHOT and 1.8.4) Questionnaires are taking a long time to load and when I click on some questionnaire then I get following exceptions, 2012-07-23 13:53:39,998 - ERROR - apache.wicket.Session - Exception when detaching/serializing page java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethod(Class.java:1935) at java.io.ObjectStreamClass.getInheritableMethod(ObjectStreamClass.java:134 9) at java.io.ObjectStreamClass.access$2200(ObjectStreamClass.java:52) at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:448) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:150 9) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:13 92) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:150 9) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:13 92) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:150 9) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:13 92) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:150 9) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:13 92) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) I have already set PermGen space as part of the JAVA_OPTS. But still I keep getting the above exception, even though there is enough memory. This problem wasn't there a few days ago. Thanks, Abhishek

    JIRA | 5 years ago | abhishek d
    java.lang.OutOfMemoryError: PermGen space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      allocLargeObjectOrArray: [B, size 667664

      at java.util.Arrays.copyOf()
    2. Java RT
      ObjectOutputStream.writeObject0
      1. java.util.Arrays.copyOf(Arrays.java:2786)
      2. java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
      3. java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1847)
      4. java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1756)
      5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
      5 frames