- 
    Bug 
- 
    Resolution: Won't Fix
- 
     P2 P2
- 
    None
- 
    None
SHORT SUMMARY:
Header size for arrays counted in bytes instead of words.
PRESENT SINCE:
7u4
DESCRIPTION:
Header size is calculated incorrectly and that cause
"java.lang.OutOfMemoryError: Requested array size exceeds VM limit".
- duplicates
- 
                    JDK-8227674 ArrayList.ensureCapacity() throws OutOfMemoryError -           
- Closed
 
-         
- 
                    JDK-8149330 Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary -           
- Resolved
 
-         
- relates to
- 
                    JDK-8059914 Cannot allocate array with Integer.MAX_VALUE elements -           
- Closed
 
-         
- 
                    JDK-8298863 Allow max_jint array length for all element types -           
- Open
 
-