Identifying and Troubleshooting Memory Leaks in Java Applications

Author(s): Lakshmi Narasimha Rohith Samudrala

Publication #: 2503062

Date of Publication: 04.07.2019

Country: USA

Pages: 1-5

Published In: Volume 5 Issue 4 July-2019

DOI: https://doi.org/10.5281/zenodo.15086987

Abstract

Memory leaks in Java applications is a challenge that programmers find it difficult to overcome. Although Java has an in-built memory management, its GC process fails to clear objects that are referenced. This causes programmers to rely on manual memory management techniques to prevent unintended object retention.

This paper dives into the memory segmentation of Java, while explaining the definition of memory leaks and what causes it. The paper explores few examples of codes that cause memory leaks and provides solutions to those problems. This paper explores practical methods for identifying and troubleshooting memory leaks using heap dumps, garbage collection logs, and profiling tools It also provides best practices which can help development team to prevent memory leaks. By implementing these strategies, developers can enhance application stability, optimize memory usage, and prevent performance degradation caused by excessive memory consumption.

Keywords:

Download/View Paper's PDF

Download/View Count: 102

Share this Article