Min Heap Threshold Callback? "OOM Killer"?
Posted: Sun Sep 30, 2018 11:33 pm
Hi there,
Wondering whether there is some feature in esp-idf to execute a (user-provided) callback when a low memory condition is reached?
Such that -- for example -- we can have application code that runs when heap reaches 10KB remaining, and in that case select a task and delete it (or make some attempt to reclaim memory other than rebooting, perhaps disabling some other features).
Wondering whether there is some feature in esp-idf to execute a (user-provided) callback when a low memory condition is reached?
Such that -- for example -- we can have application code that runs when heap reaches 10KB remaining, and in that case select a task and delete it (or make some attempt to reclaim memory other than rebooting, perhaps disabling some other features).