Enable automatic garbage collection.
Disable automatic garbage collection. Heap memory can still be allocated, and garbage collection can still be initiated manually using gc.collect()
.
Run a garbage collection.
Return the number of bytes of heap RAM that are allocated.
Return the number of bytes of available heap RAM.