OutOfMemoryError in java

Different types of java.lang.OutOfMemoryError >

  1. Exception in thread: java.lang.OutOfMemoryError: Java heap space
  2. Exception in thread: java.lang.OutOfMemoryError: GC Overhead limit exceeded
  3. Exception in thread: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  4. Exception in thread: java.lang.OutOfMemoryError: Metaspace
  5. Exception in thread: java.lang.OutOfMemoryError: request size bytes for reason. Out of swap space?
  6. Exception in thread: java.lang.OutOfMemoryError: Compressed class space
  7. Exception in thread: java.lang.OutOfMemoryError: reason stack_trace_with_native_method

No comments:

Post a Comment