Search found 2 matches

by bearchun
Wed Aug 02, 2017 6:41 am
Forum: Report Bugs
Topic: NVS memory leak - nvs_pagemanager using too much memory
Replies: 1
Views: 4440

NVS memory leak - nvs_pagemanager using too much memory

So, this is not a real memory leak but it will use too much memory for my app to run. When my app is fully functional, it has BLE running and aws mqtt connection. At this point, I have about 70KB of free heap available. But if I continue to read/write into NVS, I will loose lot of memory to a point ...
by bearchun
Sat Jul 01, 2017 4:05 am
Forum: Report Bugs
Topic: CPP object in new task function memory leak
Replies: 1
Views: 4148

CPP object in new task function memory leak

I'm using ESP-IDF release v2.1 (rc) with CPP code. When I create a new TASK and use CPP objects like this then exit the task code I get a memory leak: void vATaskFunction( void *pvParameters ) { string s = "hello"; vector<int> v; vTaskDelete(NULL); } This DOES NOT leak memory: void vATaskFunction( v...