# Arduino memory error (not flash memory)

**URL:** <https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356>\
**Category:** ProffieOS\
**Created:** [November 18, 2023, 4:52am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356 "2023-11-18T04:52:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [November 18, 2023, 4:52am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/1 "2023-11-18T04:52:06Z")

</div>

I’m getting this error when trying to compile a v3 board. It compiles fine with ~61 presets, but if I try to add more it gives me this error. It seems to be a Windows error of some sort but I can’t find anything related to Proffie when searching. Or anyone else having the same problem.

When it compiles at 61 presets it’s at less than 70% flash memory. Did I hit some other ceiling? Or is there a way around this?

> cc1plus.exe: out of memory allocating 134217728 bytes
> 
> exit status 1
> 
> Compilation error: exit status 1

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [November 18, 2023, 6:59am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/2 "2023-11-18T06:59:44Z")

</div>

> [@MeatySmurf](#):
>
> cc1plus.exe: out of memory allocating 134217728 bytes

I think this is the compiler running out of memory because it’s a 32-bit application and it can only allocate 2Gb.

The experimental 3.7.0 version of the arduino-proffieboard plugin has a 64-bit compiler, and might work better.

Instructions for how to install it here:

> [@Gcc 12.3 (new compiler maybe)](https://crucible.hubbe.net/t/gcc-12-3-new-compiler-maybe/4048/5):
>
> Ok, so I made a version of the arduino-proffieboard plugin that uses gcc 12.3. It seems to work pretty well and generate slightly smaller code. If you want to try it, you’ll need to have the “experimental” package index in your “additional board manager urls”: [https://profezzorn.github.io/arduino-proffieboard/package\_proffieboard\_experimental\_index.json](https://profezzorn.github.io/arduino-proffieboard/package_proffieboard_experimental_index.json) Arduino 2.x is reasonably good at keeping things separate, so you can have both the experimental and the regular version installed and swap between them in Tools → Board. If you try it out, let me know if it works for you. (Just drop a note in this thread) I hope to promote this to beta, and then stable eventually, but I want plenty of testing first, and it takes forever if I have to do it all myself.

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [November 18, 2023, 4:04pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/3 "2023-11-18T16:04:30Z")

</div>

I received the same error when using “Proffieboard Experimental”.

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [November 18, 2023, 10:27pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/4 "2023-11-18T22:27:31Z")

</div>

Any difference if you change the “optimize” choice in Arduino?

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [November 18, 2023, 10:43pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/5 "2023-11-18T22:43:18Z")

</div>

Faster and fastest cut the number in half. But still no go.

> **Fast**  
> cc1plus.exe: out of memory allocating 134217728 bytes
> 
> exit status 1
> 
> Compilation error: exit status 1
> 
> **Faster**  
> cc1plus.exe: out of memory allocating 67108864 bytes
> 
> exit status 1
> 
> Compilation error: exit status 1
> 
> **Fastest**  
> cc1plus.exe: out of memory allocating 67108864 bytes
> 
> exit status 1
> 
> Compilation error: exit status 1

---

<div class="post-metadata">

**Author:** ![NoSloppy](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/nosloppy/32/3865_2.png) [@NoSloppy](https://crucible.hubbe.net/u/NoSloppy)\
**Post date:** [November 18, 2023, 11:45pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/6 "2023-11-18T23:45:55Z")

</div>

How about an Arduino uninstall / reinstall?

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [November 18, 2023, 11:53pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/7 "2023-11-18T23:53:07Z")

</div>

I first tried on an old version, 1.8 or something. After that I downloaded and installed the current version.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [November 19, 2023, 4:17am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/8 "2023-11-19T04:17:51Z")

</div>

> [@MeatySmurf](#):
>
> I received the same error when using “Proffieboard Experimental”.

And just to verify, you’re using version 3.7.0, right?

Can you post your full config file? I’m curious to see if it happens for me too.

---

<div class="post-metadata">

**Author:** ![MeatySmurf](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/meatysmurf/32/4810_2.png) [@MeatySmurf](https://crucible.hubbe.net/u/MeatySmurf)\
**Post date:** [November 19, 2023, 4:33am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/9 "2023-11-19T04:33:13Z")

</div>

Yes to 3.7.

> **[BLKv3\_1-15\_32.h](https://www.dropbox.com/scl/fi/p06alokbnlu24clsg0xnf/BLKv3_1-15_32.h?rlkey=pfr90tg0t28tulh0s9rpbwafc&dl=0)**
>
> Shared with Dropbox

It was too large for pastebin.

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 15, 2026, 8:32am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/10 "2026-10-15T08:32:37Z")

</div>

Im getting the same error,and this jaberwalky you said to do i have no clue what your talking about,3.7 is experimental click here and it goes to 2 something not three i have no clue what to do here mexcept say the hell with proffie and throw my sabers in the trash and be done with it.

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 15, 2026, 8:34am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/11 "2026-10-15T08:34:23Z")

</div>

how do i even tell what version of 3.7 or whatever that is and where to find a working version of it,im lost here and bout to give up

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 15, 2026, 8:52am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/12 "2026-10-15T08:52:28Z")

</div>

i had ardunio 2.3 i uninstalled and installed 1.89 and i still get the same damn error i dont know what the hell im doing wrong or what is wrong with this shit 2 weeks ago it worked fine now it wont do shit

---

<div class="post-metadata">

**Author:** ![ryryog25](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/ryryog25/32/1812_2.png) [@ryryog25](https://crucible.hubbe.net/u/ryryog25)\
**Post date:** [October 15, 2026, 1:10pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/13 "2026-10-15T13:10:13Z")

</div>

You should create a new topic for help with your own issue(s). However, before all else, I would recommend a breath of air; being agitated isn’t helpful to you nor does it invite help from others.

Use the Copy Error Messages button in Arduino to copy the exact error you’re facing, and provide it along with proper context in a new topic, rather than posting here.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [October 19, 2026, 5:47am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/14 "2026-10-19T05:47:44Z")

</div>

Nowadays, the latest version of the arduino-proffieboard is 4.6.0, if you check the board manager in Arduino, you can see what version of the arduino-proffieboard you have installed.

If it’s not 4.6, please try that.

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 21, 2026, 8:39am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/15 "2026-10-21T08:39:45Z")

</div>

cc1plus.exe: out of memory allocating 65536 bytes  
exit status 1

Compilation error: exit status 1

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 21, 2026, 8:41am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/16 "2026-10-21T08:41:08Z")

</div>

I Have INSTALLED 4.6,3.7 AND 2.2 ON PROFFIE BOARD AND EXPERIMENTAL AND NO MATTER WHAT I GET ITS THE SAME ERROR,I CANT EVEN MAKE NEW BLADESTYLES BECAUSE I CANT GET PASSED THIS CRAP TO FLASH THE BOARD,IM AT MY WITS END ABOUT THIS,I HAVE AT LEAST 3 GB OF SPACE ON DRIVE C AND 64 GB OF RAM,SO IDK WHAT ELSE TO DO HERE.

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 21, 2026, 8:52am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/17 "2026-10-21T08:52:05Z")

</div>

HOW MUCH hard drive space is required to avoid this bullshit error?

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [October 21, 2026, 8:55am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/18 "2026-10-21T08:55:11Z")

</div>

It’s not running out of hard drive space, it’s running out of memory. (RAM)  
However, unless you are really low on memory, this is most likely a bug, and not actually a problem with the amount of available memory.

Although, if you’re getting it consistently with different versions of the arduino-proffieboard plugin, then maybe it is something going on with your computer.

I don’t suppose you have a different computer you could try?

---

<div class="post-metadata">

**Author:** ![STEPHEN\_FLETCHER](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/stephen_fletcher/32/6620_2.png) [@STEPHEN\_FLETCHER](https://crucible.hubbe.net/u/STEPHEN_FLETCHER)\
**Post date:** [October 21, 2026, 9:00am UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/19 "2026-10-21T09:00:08Z")

</div>

No unfortunately i dont but after clearing up some drive space it works now,idk why it works sometimes and other times it dont,idk how i could be low on memory when i have 64gb of it

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [October 24, 2026, 10:10pm UTC](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356/20 "2026-10-24T22:10:15Z")

</div>

64gb should be enough, unless some other program is gobbling up all the memory.  
However, as I said, I kind of think this is a compiler bug rather than actually being low on memory, but since it doesn’t happen for me it’s difficult to know for certain.

[Next page](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356.md?page=2)
