When you write and run Java code, the JVM makes several allocations on your behalf, but do you have an understanding of how much that is? This session provides insight into the memory usage of Java code, covering the memory overhead of putting “int” into an integer object and the cost of object delegation and the memory efficiency of the different collection types.
It also gives you an understanding of the off-Java (native) heap memory usage of some types of Java objects, such as threads and sockets. Most importantly, the session covers how to determine where there are inefficiencies in your application and how to choose the right collections to improve your Java code.
Pingback: Articles for 2014-apr-24 | Readings for a day