# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://crucible.hubbe.net/t/arduino-memory-error-not-flash-memory/4356)._
