We recommend using Visual Studio 2017

Resource Compiler Fatal Error RC1120


The latest version of this topic can be found at Resource Compiler Fatal Error RC1120.

out of memory, needed number bytes

The Resource Compiler ran out of storage for items that it stores in its heap. Usually this is the result of having too many symbols.

To fix by using the following possible solutions

  1. Increase the Windows swap file space. For more information about increasing the swap-file space, see virtual memory in Windows help.

  2. Eliminate unnecessary include files, especially unneeded #defines and function prototypes.

  3. Split the current file into two or more files and compile them separately.

  4. Remove other programs or drivers running in the system, which could be consuming significant amounts of memory.