How to increase number of records in heap_tracing buffer heap_trace_record_t?
Posted: Thu Jan 18, 2018 11:12 am
Hi
I am working on memory leak analysis in esp32. I am facing problem with heap_trace_record_t type buffer, this will record the leaks and prints when heap_tracing is enabled in menuconfig. But this buffer is overflowing, can anyone tell me how to increase the buffer size to record more leaks.
I tried by changing the value assigned to that buffer in library file but still i am getting 14 allocation record not more than this. please reply me as soon as possible.
log :
1736 bytes 'leaked' in trace (14 allocations)
total allocations 17222 total frees 17275
(NB: Buffer has overflowed, so trace data is incomplete.)
MALLOC_CAP_8BIT critical leak: Before 242052 bytes free, After 229160 bytes free (delta 12892)
Thanks and Regads
Nayana
I am working on memory leak analysis in esp32. I am facing problem with heap_trace_record_t type buffer, this will record the leaks and prints when heap_tracing is enabled in menuconfig. But this buffer is overflowing, can anyone tell me how to increase the buffer size to record more leaks.
I tried by changing the value assigned to that buffer in library file but still i am getting 14 allocation record not more than this. please reply me as soon as possible.
log :
1736 bytes 'leaked' in trace (14 allocations)
total allocations 17222 total frees 17275
(NB: Buffer has overflowed, so trace data is incomplete.)
MALLOC_CAP_8BIT critical leak: Before 242052 bytes free, After 229160 bytes free (delta 12892)
Thanks and Regads
Nayana