Arduino memory error (not flash memory)

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

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:

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

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

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

1 Like

How about an Arduino uninstall / reinstall?

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

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.

Yes to 3.7.

It was too large for pastebin.

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.

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

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

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.

1 Like

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.

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

Compilation error: exit status 1

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.

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

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?

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

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.