Login fails due to Requested array size exceeds VM limit error
Symptoms
After upgrading, users are not able perform login. When submitting credentials page shows a constant state of working and never perform login. The following error message appears inside logs:
2012-07-02 11:53:53,768 WARN [StreamsCompletionService::thread-874 ] fisheye.app com.cenqua.fisheye.user.crowd.CrowdAuth-getGroupsForUser - Problem communicating with Crowd
com.atlassian.crowd.exception.OperationFailedException: Requested array size exceeds VM limit
Cause
Application attempted to allocate an array that is larger than the heap size. In most cases the problem is either a configuration issue (heap size too small), or a bug that results in an application attempting to create a huge array, for example, when the number of elements in the array are computed using an algorithm that computes an incorrect size.
Resolution
Increase the heap size memory as per this document.