You copied the Doc URL to your clipboard.

Extending heap size at runtime

To enable the heap to extend into areas of memory other than the region of memory that is specified when the program starts, you can redefine the function __user_heap_extend().

__user_heap_extend() returns blocks of memory for heap usage in extending the size of the heap.

Related reference