Replies: 2 comments
-
The "bytes allocated in the heap" tracks the total number of allocations, but doesn't deduct the sizes of objects that die. So it is a way to follow the allocation pressure of your process. You can also use bytes_allocated_delta:
If you want to know the heap size of your process, use entries 1 and 2 of the |
Beta Was this translation helpful? Give feedback.
-
Thank you. It would be nice to add that info into process_stats documentation. |
Beta Was this translation helpful? Give feedback.
-
According https://libs.toit.io/core/utils/library-summary#process_stats process_stats shell return bytes allocated in object heap.
It seems, my program allocate more bytes than the ESP32 has RAM available. Why does the bytes allocated in object heap increase continuously?
(based on #473)
Beta Was this translation helpful? Give feedback.
All reactions