Error compiling for board Arduino Nano 33 BLE : The paging file is too small for this operation to complete

Hi gais, i have the problem with my project. i cant compile my code with arduino ide , can anyone help me, please!

fork/exec C:\Users\Cindi Alfani\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++.exe: The paging file is too small for this operation to complete.
Error compiling for board Arduino Nano 33 BLE.

Post you complete sketch following the instructions in How to get the best out of this forum

1 Like

This sounds like a Windows problem. Is it possible you are running out of disk space?

1 Like

oke thanks for information

I still have a lot of disk space, that error when i compile my code with arduino ide.

The paging file is where virtual memory pages sit when they are not in physical memory. I suspect the compiler needs more memory than is configured on the machine. I'm a Mac user so I don't know how Windows virtual memory is configured.

A Google search shows:
System Properties
select 'Advanced' tab
click 'Performance, Settings...' button
select 'Advanced' tab
click 'Virtual memory, Change...' button

You can only set it up to four times your physical memory. If that is not enough to compile, you will need to add more physical memory.

1 Like

When you do not configure it manually the pagefile is handled by Windows automatically. It may reduce it when disk space gets rare. I think Windows is old enough to handle this automatically.

One thing to try is to restart Windows. Do not shut down and start again but use restart. By default Windows 10 does not shut down completely. It does hibernate to disk including memory leaks. When you use restart, Windows does a complete shutdown. Check the Windows Task Manager -> CPU Tab. The active time will show you the truth. It should be a few minutes. I reconfigured my Windows 10 to not use hibernate. You can use Google if you want to find out how.

Another thing to check is background software that can use a lot of memory. Do you use any grid computing software (crypto mining ...)?

okey thanks

i can did, i restart and i close windows then i try again. oke thanks for all.