Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 365 Bytes

utils.md

File metadata and controls

19 lines (10 loc) · 365 Bytes

Maix.utils

gc_heap_size ([size])

Get or set the GC heap size. If you report insufficient memory, you can consider setting a larger size.

Parameters

None or Pass in a new GC heap size.

  • If there is no parameter, just get the heap size;
  • If there are parameters, set the heap size, and then restart automatically

Return value

GC heap size