Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2513

Handle "java.lang.OutOfMemoryError: Requested array size exceeds VM limit" with meaningful messages for the Admins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 2.2.7
    • None
    • None

    Description

      Currently, "java.lang.OutOfMemoryError: Requested array size exceeds VM limit" is reported in Crowd and then propagated to the integrated applications.

      Example:

      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)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rbattaglin Renan Battaglin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: