java.lang.OutOfMemoryError: Requested array size exceeds VM limit

Atlassian JIRA | Renan Battaglin | 5 years ago
  1. 0

    Currently, "java.lang.OutOfMemoryError: Requested array size exceeds VM limit" is reported in Crowd and then propagated to the integrated applications. Example: {code} SEVERE: Internal server error java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.ArrayList.<init>(ArrayList.java:112) at com.atlassian.crowd.directory.RFC4519Directory.findGroupMembershipsOfUserViaMemberOf(RFC4519Directory.java:387) at com.atlassian.crowd.directory.RFC4519Directory.searchGroupRelationshipsWithGroupTypeSpecified(RFC4519Directory.java:326) at com.atlassian.crowd.directory.SpringLDAPConnector.searchGroupRelationships(SpringLDAPConnector.java:1430) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchDirectGroupRelationships(DirectoryManagerGeneric.java:864) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchNestedGroupRelationships(DirectoryManagerGeneric.java:1044) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) {code} We need to report the problem with a meaningful message and with instructions of what to do. Also, propagate meaningful messages to the Integrated Apps, explaining that the problem is Crowd.

    Atlassian JIRA | 5 years ago | Renan Battaglin
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  2. 0

    Currently, "java.lang.OutOfMemoryError: Requested array size exceeds VM limit" is reported in Crowd and then propagated to the integrated applications. Example: {code} SEVERE: Internal server error java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.ArrayList.<init>(ArrayList.java:112) at com.atlassian.crowd.directory.RFC4519Directory.findGroupMembershipsOfUserViaMemberOf(RFC4519Directory.java:387) at com.atlassian.crowd.directory.RFC4519Directory.searchGroupRelationshipsWithGroupTypeSpecified(RFC4519Directory.java:326) at com.atlassian.crowd.directory.SpringLDAPConnector.searchGroupRelationships(SpringLDAPConnector.java:1430) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchDirectGroupRelationships(DirectoryManagerGeneric.java:864) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchNestedGroupRelationships(DirectoryManagerGeneric.java:1044) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) {code} We need to report the problem with a meaningful message and with instructions of what to do. Also, propagate meaningful messages to the Integrated Apps, explaining that the problem is Crowd.

    Atlassian JIRA | 5 years ago | Renan Battaglin
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  3. 0

    cassandra crash when using python driver

    GitHub | 7 months ago | lapcchan
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    query no limit causing cassandra to shut down

    GitHub | 7 months ago | evildecay
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  6. 0

    Heap space issue

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.OutOfMemoryError: Java heap space

  1. Tahir 2 times, last 2 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

    Requested array size exceeds VM limit

    at java.util.ArrayList.<init>()
  2. Java RT
    ArrayList.<init>
    1. java.util.ArrayList.<init>(ArrayList.java:112)
    1 frame
  3. com.atlassian.crowd
    DirectoryManagerGeneric.searchNestedGroupRelationships
    1. com.atlassian.crowd.directory.RFC4519Directory.findGroupMembershipsOfUserViaMemberOf(RFC4519Directory.java:387)
    2. com.atlassian.crowd.directory.RFC4519Directory.searchGroupRelationshipsWithGroupTypeSpecified(RFC4519Directory.java:326)
    3. com.atlassian.crowd.directory.SpringLDAPConnector.searchGroupRelationships(SpringLDAPConnector.java:1430)
    4. com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchDirectGroupRelationships(DirectoryManagerGeneric.java:864)
    5. com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchNestedGroupRelationships(DirectoryManagerGeneric.java:1044)
    5 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Spring AOP
    AopUtils.invokeJoinpointUsingReflection
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    1 frame