java.lang.OutOfMemoryError: Java heap space

Spring JIRA | Imported | 10 years ago
  1. 0

    Eclipse 3.3m5eh, SpringIDE 2.0M3. On large workspace with lots of classes but only <100 Spring beans, the following happens: {code} !ENTRY org.eclipse.core.jobs 4 2 2007-03-14 11:35:48.139 !MESSAGE An internal error occurred during: "Building Spring AOP reference model". !STACK 0 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2760) at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.addAll(ArrayList.java:474) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassLoader(SpringCoreUtils.java:260) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:407) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:170) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder####BuildJob.run(AopReferenceModelBuilder.java:132) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) {code}

    Spring JIRA | 10 years ago | Imported
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Eclipse 3.3m5eh, SpringIDE 2.0M3. On large workspace with lots of classes but only <100 Spring beans, the following happens: {code} !ENTRY org.eclipse.core.jobs 4 2 2007-03-14 11:35:48.139 !MESSAGE An internal error occurred during: "Building Spring AOP reference model". !STACK 0 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2760) at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.addAll(ArrayList.java:474) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333) at org.springframework.ide.eclipse.core.SpringCoreUtils.getClassLoader(SpringCoreUtils.java:260) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:407) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:170) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder####BuildJob.run(AopReferenceModelBuilder.java:132) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) {code}

    Spring JIRA | 10 years ago | Imported
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Agency list doubles in length with each new feed

    GitHub | 5 years ago | abyrd
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Optimized Permutation Code in Java

    Stack Overflow | 4 years ago | Maximin
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Java heap space on deploying with flex-plugin

    Stack Overflow | 6 years ago | Chupacabras
    java.lang.OutOfMemoryError: Java heap space

  1. Alexandru Popa 7 times, last 3 weeks ago
  2. robert.nemet 1 times, last 7 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.util.Arrays.copyOf()
  2. Java RT
    ArrayList.addAll
    1. java.util.Arrays.copyOf(Arrays.java:2760)
    2. java.util.Arrays.copyOf(Arrays.java:2734)
    3. java.util.ArrayList.ensureCapacity(ArrayList.java:167)
    4. java.util.ArrayList.addAll(ArrayList.java:474)
    4 frames
  3. org.springframework.ide
    AopReferenceModelBuilder.buildAopModel
    1. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    2. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    3. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    4. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    5. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    6. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    7. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    8. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassPathURLs(SpringCoreUtils.java:333)
    9. org.springframework.ide.eclipse.core.SpringCoreUtils.getClassLoader(SpringCoreUtils.java:260)
    10. org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:407)
    11. org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:170)
    11 frames