ALL


  Memory related exception analysis in Java

Java Virtual Machine Specification divides the memory of JVM into several areas : Heap, Stack, The Program Counter register and Method area etc. In HotSpot JVM, heap is composed of Young, Tenured and Perm. There are different OutOfMemory error can happen in different memory area. Next is an overview of some of these OOM errors.StackOverflowErrorThe JVM will allow only a specified number of stacks created nested. An JVM option -Xss can be set to determine the maximum stack size. If the number of stacks created is more than the maximum allowed, a java.lang.StackOverflowError will be thrown....

4,264 0       JAVA MEMORY MODEL MEMORY EXCEPTION OOM