All Products
Search
Document Center

Enterprise Distributed Application Service:Memory snapshots

Last Updated:Aug 07, 2023

The JVM monitoring tab in the Enterprise Distributed Application Service (EDAS) console can display multiple memory metrics that are recorded within a specified period of time on a GUI. Charts on the GUI can show issues such as excessive memory usage, but cannot display the details of each issue. Therefore, the charts alone provide little help in troubleshooting the issues. In this case, you can create memory snapshots to obtain memory usage details from logs.

Go to the JVM monitoring tab

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications. In the top navigation bar, select a region. In the upper part of the page, select a microservice namespace. From the Cluster Type drop-down list, select Kubernetes Cluster. Then, find the application that you want to manage and click the name in the Application Name column.

  3. In the left-side navigation pane of the application details page, choose Monitor > Instance Details.

  4. In the left-side tree of the instance details page, select the instance that you want to view and click the JVM monitoring tab on the right side of the page.

Create a memory snapshot

Warning

When you create a memory snapshot, the Java process stalls. The process of creating a memory snapshot takes a few seconds to half an hour to complete. Exercise caution when you create a snapshot.

  1. In the upper-right corner of the JVM monitoring tab, click Create Memory Snapshot.

    Note

    After you click Create Memory Snapshot, an error message appears if the previous memory snapshot is being created. In this case, wait until the previous memory snapshot is created. You can create memory snapshot tasks only for Linux servers.

  2. In the Create Memory Snapshot dialog box, select an IP address and click Save.

    Note

    If you have selected an instance in the left-side navigation tree of the instance details page, the IP address of the instance is automatically selected from the IP drop-down list.

View memory snapshot details

  1. In the upper-right corner of the JVM monitoring tab, click Historical Snapshots.

    The Number of Snapshot Jobs panel displays the task execution status. Green indicates that the snapshot task is successful, blue indicates that the snapshot task is executing, and red indicates that the snapshot task fails. Find a task and click Details to view the progress of the task.

  2. Find a task and click Analysis to view the analysis results in the Application Troubleshooting Platform (ATP) console.