# Error : Not enough Heap memory

**URL:** <https://forum.clockworkpi.com/t/error-not-enough-heap-memory/17744>\
**Category:** PicoCalc\
**Tags:** software\
**Created:** [May 31, 2025, 6:00pm UTC](https://forum.clockworkpi.com/t/error-not-enough-heap-memory/17744 "2025-05-31T18:00:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@Frank](https://forum.clockworkpi.com/u/Frank)\
**Post date:** [May 31, 2025, 6:00pm UTC](https://forum.clockworkpi.com/t/error-not-enough-heap-memory/17744/1 "2025-05-31T18:00:25Z")

</div>

I can create a file on drive b: with EDIT “test.bas”  
When pressing F1 it saves the file to SD card.  
When editing the file again I get the error on pressing F1: Error : Not enough Heap memory  
This only happens on drive b:. On drive A: everything is fine.  
I’m using PicoMite V6.00.01

---

<div class="post-metadata">

**Author:** ![tabemann](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@tabemann](https://forum.clockworkpi.com/u/tabemann)\
**Post date:** [May 31, 2025, 6:09pm UTC](https://forum.clockworkpi.com/t/error-not-enough-heap-memory/17744/2 "2025-05-31T18:09:35Z")

</div>

This seems to be a similar issue to the issue reported in ["Not enough memory" when saving from editor in PicoMite](https://forum.clockworkpi.com/t/not-enough-memory-when-saving-from-editor-in-picomite/17695) .

---

<div class="post-metadata">

**Author:** ![Toml\_12953](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/toml_12953/32/11925_2.png) [@Toml\_12953](https://forum.clockworkpi.com/u/Toml_12953)\
**Post date:** [May 31, 2025, 7:29pm UTC](https://forum.clockworkpi.com/t/error-not-enough-heap-memory/17744/3 "2025-05-31T19:29:30Z")

</div>

F1 doesn’t save the program to the SD card. It saves it in memory. To actually save the program to the SD card, you have to type SAVE “_yourprogname_” if B is your default drive or SAVE “B:_yourprogname_” if B is not your default drive. Of course, you replace _yourprogname_ with your own program name.
