Wpis z mikrobloga

From Java code to Java heap

Understanding and optimizing your application's memory usage

This article gives you insight into the memory usage of Java™ code, covering the memory overhead of putting an int value into an Integer object, the cost of object delegation, and the memory efficiency of the different collection types. You'll learn how to determine where inefficiencies occur in your application and how to choose the right collections to improve your code.

#interfacesmieci
#java
  • 2