Skip to content

Commit 57238aa

Browse files
authored
Update docs/environment.rst
1 parent 3e6456d commit 57238aa

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/environment.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ Default BLE name the board advertises as, including for the BLE workflow.
6262

6363
CIRCUITPY_HEAP_START_SIZE
6464
~~~~~~~~~~~~~~~~~~~~~~
65-
Sets the initial size of the python heap. Must be a multiple of 4. The heap will grow by doubling
66-
this initial size until the outer heap cannot fit it. Larger values will reserve more RAM for python
67-
use and prevent the supervisor and SDK from large allocations of their own. Smaller values will
68-
likely grow sooner than large start sizes.
65+
Sets the initial size of the python heap, allocated from the outer heap. Must be a multiple of 4.
66+
The default is currently 8192.
67+
The python heap will grow by doubling and redoubling this initial size until it cannot fit in the outer heap.
68+
Larger values will reserve more RAM for python use and prevent the supervisor and SDK
69+
from large allocations of their own.
70+
Smaller values will likely grow sooner than large start sizes.
6971

7072
CIRCUITPY_PYSTACK_SIZE
7173
~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)