Resource Compiler Fatal Error RC1002


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

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

out of heap space

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. Split the current file into smaller files and compile them separately.

  3. Remove other programs or drivers running on the system.