java.lang.OutOfMemoryError: Java heap space

Coderanch | Campbell Ritchie | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Implementing ArrayList class manually

    Coderanch | 4 years ago | Campbell Ritchie
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at test.CustomArrayList.growArray()
    2. test
      CustomArrayList.main
      1. test.CustomArrayList.growArray(CustomArrayList.java:47)
      2. test.CustomArrayList.add(CustomArrayList.java:86)
      3. test.CustomArrayList.main(CustomArrayList.java:164)
      3 frames