How to Monitor Memory Issues
On a production system, it is recommended to monitor overall memory usage daily either manually using the GC log file or automatically using tools, such as VisualVM.
You can monitor the memory usage using any of the following tools. You can use one or more tools together to get a holistic view on the memory usage in a solution.
GC log analysis
Java VisualVM
Heap dumps
Tomcat Apache logs
Was this helpful?