Knowledge Base Article

cc1plus.exe: out of memory allocating 65536 bytes

Description

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. 

Resolution

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.

Updated 7 days ago
Version 2.0
No CommentsBe the first to comment