This post originated from an RSS feed registered with Java Buzz
by Peter Karich.
Original Post: Memory Efficient Java - Mission Impossible?
Feed Title: Java and more ...
Feed URL: https://karussell.wordpress.com/category/java/feed/
Feed Description: Just another weblog. Its about my developer experiences with Java in general. In detail I will blog about NetBeans, Eclipse, Design Patterns, News, Web Frameworks and other tools. My focus will be open source tools, which make the life of a Java developer easier.
First, the normal usage in Java leads to massive memory waste as its pointed out in several articles or here in a nice IBM article. Some examples for the 32 bit JVM: Using 3 * 4 bytes for an object with no member variables. Using 4 * 4 bytes for an empty int[] array! Using [...]