Posted By

rnavanee on 08/17/13


java jvm

Versions (?)

Java OutOfMemory Example

 / Published in: Java


This java code, when executed, throws OOM error.

Java Console: ... Exception in thread "main" java.lang.OutOfMemoryError ...

Heapdump Data: ... 1STHEAPFREE Bytes of Heap Space Free: 0 1STHEAPALLOC Bytes of Heap Space Allocated: 66666600 ...

Report this snippet  

You need to login to post a comment.