Hi M Kulkarni,
What are the specifications of your environment e.g. which version of
Java Sun/IBM JDK etc?
Find below one approach we used successfully for many production environments using Sun JDK 1.5, 1.6 and IBM JVM 1.5,1.6:
- Perform a load
test with proper load ratio of targeted production load
- Generate a Java Heap Dump (latest JDK versions allow you to generate Java Heap Dump on the fly, extremelly usefull to analyse your application memory footprint)
- Analyse the Heap Dump using Eclipse Memory Analyser
The Heap Dump analysis will provide you a breakdown of your objects and allow you to perform searches in order to come up with a proper Java Heap breakdown and % for each silo that you are interesting in.