Installation on Windows 10, cc1plus.exe error

Hi MRtrix world,

I followed the installation steps for windows. (

Everything went fine until “Build MRtrix3”.
Where I get the following error message:

ERROR: (239/506) [CC] tmp/cmd/mrregister.o

failed with output

cc1plus.exe: out of memory allocating 65536 bytes

For me it seems to be as if a 32bit application tries to get installed, even though I use the MinGW-w64 Win64 shell.

Thanks a lot for helping,


This is most likely due to your system not having enough RAM to run that many concurrent compile jobs – see if the suggestions in the docs help.

Hi @jdtournier
I think you could be right!
Thanks for your response