Java: JVM parameters, Application Cache, Calculation of Memory Footprint
Hi, In a previous post, we spoke about solution in order to avoid the famous OutOfMemoryError: Java heap space or OutOfMemoryError: PermGen space errors and JVM parameters (-XX:PermSize, -XX:MaxPermSize, -Xms, -Xmx).   In this post, I would like to expose a simple method to calculate the memory footprint of JAVA objects in a cache in order to set the appropriate values of ...more»