Documentation Contents
Java Platform, Standard Edition Troubleshooting Guide
Contents Previous Next

# 3 Troubleshoot Memory Leaks

This chapter provides some suggestions for diagnosing problems involving possible memory leaks.

If your application's execution time becomes longer and longer, or if the operating system seems to be performing slower and slower, this could be an indication of a memory leak. In other words, virtual memory is being allocated but is not being returned when it is no longer needed. Eventually the application or the system runs out of memory, and the application terminates abnormally.

This chapter contains the following sections:

- Debug a Memory Leak Using Java Flight Recorder

- Understand the OutOfMemoryError Exception

- Troubleshoot a Crash Instead of OutOfMemoryError

- Diagnose Leaks in Java Language Code

- Diagnose Leaks in Java Language Code

Contents Previous Next

Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved.
Contact Us