Tuning Workflow
Typical memory issues are categorized as shown in Table 1.
Troubleshooting Process
The following workflow shows the process of analyzing excessive memory usage or OOM on the device side.
- Use the performance tuning tool to collect profile data and import the data to MindStudio Insight.
- Examine memory curves and details of operator or component memory allocation and release in the Memory Analysis area on the Memory page to preliminarily locate the fault and identify the exception scope, step, or operator.
- Use the memory leak detection tool (msLeaks) to collect memory details and memory disassembly data for the identified exception scope, and import the data to MindStudio Insight.
- On the Leaks page, analyze memory usage based on the Function Stack Flame Graph, Memory Request/Release Line Graph & Memory Block Graph, and Memory Details Table.