Knowledge Base

PRB: Help Compiler Error 5059 - Not Enough Memory

Article ID: 123767

Article Last Modified on 12/3/2003


APPLIES TO


This article was previously published under Q123767

SYMPTOMS

The Help Compiler generates Error 5059 stating that there is not enough memory to build the help file.

CAUSE

This error message occurs under each these conditions:
  • There is a graphic larger than 64K pasted directly into the .RTF file.
  • There is a corrupt graphic in the .RTF file.
  • The Help Compiler does not have enough memory.

RESOLUTION

You can resolve the problem by following these steps:
  1. Place large graphics (larger than 64K) in the .RTF file by reference. To insert a graphic by reference, type the following instead of pasting the graphic directly into the .RTF file:
          {bm$ graphfile}
    						
    Where:

    • bm$ is either bml, bmr, or bmc:

      • Use bml for a left-aligned (left-justified) graphic.
      • Use bmr for a right-aligned (right-justified) graphic.
      • Use bmc for a character-aligned (character-justified) graphic.
    • graphfile is the name of the graphic file you want displayed in the compiled help file.
  2. Replace any bad graphics embedded in the .RTF file.
  3. To free memory, unload unneeded appliactions, device drivers, and memory-resident (TSR) programs before compiling again.

Additional query words: VFoxWin FoxWin 2.50 hc31 errmsg err msg message

Keywords: kberrmsg KB123767