Device Family: Intel® Arria® 10 SX, Arria® V ST, Arria® V SX, Cyclone® V SE, Cyclone® V ST, Cyclone® V SX

Type: Answers

Area: Embedded

Last Modified: October 06, 2016
Version Found: v13.0
Version Fixed: v17.0
Bug ID: FB: 405528;

cc1plus.exe: out of memory allocating 65536 bytes


This error may be seen when compiling large software projects on Windows platforms.   cc1plus.exe is a 32bit Windows application and has access to 2GB of memory on Windows. 


Workaround / Fix

To work around this problem, Windows can be configured to allow 32bit applications access to a 3GB address space.

1. Enable 3GB address space for 32bit applications on Windows:

 From Windows command prompt run:  bcdedit /set IncreaseUserVa 3072

2. Allow cc1plus.exe to use the larger address space

 From Windows command prompt run: editbin /LARGEADDRESSAWARE "<path>/cc1plus.exe

This problem is scheduled to be fixed in a future release of the SoC EDS Software.