Finding memory leaks
If the performance of your program degrades as it runs for a longer period of time, you may have erroneously coded a memory leak.
Memory leaks cause OutOfMemoryError exceptions or gradual loss of performance even if an OutOfMemory exception is never thrown. For more details on finding memory leaks see the Java Troubleshooting document in the IBM SDK for Java information center.