Leaks are easy to find, but memory usage analysis is bit more difficult (kohlerm.blogspot.com)

1 points by kohlerm ↗ HN
Memory 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.

1 comment

[ 4.0 ms ] story [ 9.6 ms ] thread
I suppose when the author says "memory leaks are easy to find", he's using the word "easy" in the same sense as "the halting problem is easy to solve". It is impossible for any algorithm to determine whether it is possible for a particular object to ever be used again.