InfoWorld: Once leaks occur, what can be done to fix them?
Memory tools can also help. A memory profiler can show which objects are taking up the most memory. Then, a garbage-collection tracing tool can tell which program values are causing those objects to be kept.
Sign up for CIO Asia eNewsletters.