JAVA Application

Memory Leak Monitoring

Java is not really efficient in its garbage collection so we need to be mindful of potential memory leaks. Here we list two ways to help identify and alert us to potential memory issues.

  1. Code Analysis with VisualVM:

    VisualVM is a powerful tool that comes with the Java Development Kit (JDK). It provides a visual interface for monitoring Java applications while they are running, and it can also be used for profiling and diagnosing memory issues.

  2. Monitoring with Azure Alerts after golive:

    Azure Alerts can be configured to monitor various metrics related to our application’s performance, including memory usage. By setting up alerts based on memory metrics, we can be notified when memory usage exceeds a certain threshold, which could indicate a potential memory leak or other performance issues.

Article
Tagcloud
DVA Azure Security Microsoft Java Express Architecture CI/CD database ML AWS ETL nest sql AntV Next Deep Learning Flutter TypeScript Angular DevTools egg Tableau SAP Token Regexp Unit test Nginx nodeJS sails wechat Jmeter HTML2Canvas Swift Jenkins JS event GTM Algorithm Echarts React-Admin Rest React hook Flux Redux ES6 Route Component Ref AJAX Form JSX Virtual Dom Javascript CSS design pattern