Lines Matching refs:memory
6 …memory leak check is used to locate dynamic memory leak problems. After this function is enabled, …
11 **LOSCFG_MEM_LEAKCHECK** specifies the setting of the memory leak check. This function is disabled …
13 …number of LRs recorded. The default value is **3**. Each LR consumes the memory of **sizeof(void *…
21 Correctly setting this macro can ignore invalid LRs and reduce memory consumption.
29 …memory leak in key code logic. If this function is enabled, LR information is recorded each time w…
31 …ze. Columns 3 to 5 list the LR addresses. You can determine the specific memory location of the no…
45 > Enabling memory leak check affects memory application performance. LR addresses will be recorded …
54 2. Simulate a memory leak by requesting memory without releasing it.
58 4. Compare the logs to obtain information about the node where a memory leak occurred.
67 In this example, a memory pool is created. To achieve this purpose, you need to define **LOSCFG_MEM…
84 /* Create a memory pool. */
93 /* Release the memory pool. */
105 /* Log for the first OsMemUsedNodeShow. Because the memory pool is not allocated, there is no memor…
109 /* Log for the second OsMemUsedNodeShow. There are two memory nodes. */
117 …etween the two logs is as follows. The following memory nodes are suspected to have blocks with a …
151 The memory node addressed by **0x4009f040** is not released after being allocated in **MemLeakTest*…