PSRAM decreases in do_global_ctors
Posted: Sun Jan 28, 2018 10:44 am
I've added some printf's using esp_get_free_heap_size() in start_cpu0_default (cpu_start.c)
Could bring it down to do_global_ctors, where 1280 kb disappear from heap, see attached log.
Since I've no idea what do_global_ctors is doing,
Could bring it down to do_global_ctors, where 1280 kb disappear from heap, see attached log.
Since I've no idea what do_global_ctors is doing,
Code: Select all
I (1413) spiram: Reserving pool of 16K of internal memory for DMA/internal allocations
I (1421) cpu_start: heap after reserving pool:4209012
I (96) cpu_start: heap before do_global_ctors:4208272
I (96) cpu_start: heap after do_global_ctors:2897440
I (97) cpu_start: Starting scheduler on PRO CPU.