Java Runtime Memory Management
If you are new to Java or want very simple explanation of memory model, I will recommend below -
In Java, Memory Management means Garbage Collection and memory allocation. Memory allocation is very small process as compared to Garbage Collection. Indeed, a well playing Garbage collection makes everything easy for memory allocation. Only major issue before memory allocation is weather sufficient Memory available or not? An efficient garbage collector algorithm will make sufficient memory available. If algorithm fails then OutOfMemoryException will be thrown as memory wont be available for allocating to instantiating objects.
In 2013 -
Oracle has announced that they would remove the PermGen from the Java 8 version of HotSpot JVM.
Recently I wrote a short eBook on Java. I named this book "Java Notes: Effective Programming & Interview" because its a short handy book and covers some very popular Java interview topics. I would appreciate, if you buy and send me feedback about book.