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.