Hello, friend!
You can run the display mem total command to query the overall memory statistics. You can specify the process ID or partition ID to query the memory statistics within a specified range. When you need to know the usage of each memory area, run this command.
In privilege mode or global config mode, run the diagnose command to enter diagnostic mode.
To prevent the memory applied by different modules from affecting each other, DOPRA introduces the concept of partitioning, which is essentially the heap space of the operating system.
When using DOPRA memory management, you can divide the system heap space into multiple partitions as required. Each partition has a start address, total size, and algorithm used by the partition.
In order to solve memory fragmentation and improve memory efficiency, the concept of a page is introduced in a dynamic memory algorithm. A page is a contiguous memory space consisting of N adjacent small blocks of the same type. When a certain type of memory is applied for the first time or a page of this type has no free memory, a page is applied for from the system and then allocated to the user. When you run this command to query the overall memory statistics, information such as the partition number and the number of used pages of each partition is displayed.
If you need to reduce the memory usage of the device, disable unnecessary programs based on the command output.
If the usage of a memory area is always higher than 90%, the memory usage is abnormal.
Thanks!