gregluck writes: The failure of Garbage Collection has been the dirty secret of Java since it was released a decade ago. The idea that you can skip malloc and free and let a garbage collector take over has only ever worked well on contrived edge cases. This has led end users to employ complicated workarounds like running lots of apps with tiny heaps or spending huge efforts tuning arcane garbage collector parameters. This problem has effectively limited Java's appeal. What is just emerging is a war between vendors all trying to finally solve this problem. We have Terracotta with their new BigMemory solution, which moves Ehcache off the Java heap and into DirectByteBuffers. Azul has patched both the Java VM and the Linux kernel and Oracle have been trying to get their new G1 garbage collector, for which great expectations have been set, to live up to those expectations.