Memory management and GC in java

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

AnmolD

New Member
Staff member
May 23, 2015
14
2
3
39
People have always asked me how to gain basic understanding of the JAVA memory management and at second level how to do the sizing. I am not going to cover the sizing part of it , however the objective of this post is to give you a starting point.

I am assuming you have basic knowledge of what are objects and how heap works in java. To understand the basics the starting point should be reading the whitepaper by Sun - here

will continue this post.
 
1. The JVM and Java Garbage Collection :


2. Thread dump analysis - HotSpot JVM - Java heap depletion


3. Thread Dump Analysis

Part1:

Part2:

4. Java Tutorial - JVM verbose GC analysis