Knowledge Base

PRB: RC1120 Error When Building in Low Memory Conditions

Article ID: 123769

Article Last Modified on 10/2/2003


APPLIES TO


This article was previously published under Q123769

SYMPTOMS

When building an application, the resource compiler (RC.EXE) may give this error:
fatal error RC1120: out of memory, needed 16777216 bytes

CAUSE

RC.EXE version 3.5 requires 16 megabytes of virtual memory.

RESOLUTION

Work around the problem by closing down some applications or by increasing the Paging File Size (set in the System settings).

To set the Paging File Size:
  1. Select the Control Panel icon from the Main group.
  2. Double-click the System icon.
  3. Click the Virtual Memory button.
  4. Increase the Maximum Size field in the Virtual Memory dialog box.

STATUS

Although this behavior is by design, RC.EXE was modified to function in less memory in Microsoft Visual C++, 32-bit Edition, version 4.0.

Additional query words: 2.00

Keywords: kberrmsg kbprb KB123769