Leaks are easy to find, but memory usage analysis is bit more difficult
http://kohlerm.blogspot.com/2009/03/leaks-are-easy-to-find-but-memory-usage.htmlMemory leaks are relatively easy to find in Java, when using the right approach/tool. Memory usage analysis is more difficult and is often not done at all in practice. The blog post explains a fundamental technique to analyze memory usage, which is supported by the Eclipse Memory Analyzer tool.