PRB: Help Compiler Error 5059 - Not Enough Memory

Last reviewed: April 30, 1996
Article ID: Q123767
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6, 2.6a

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 reference words: VFoxWin 3.00 FoxWin 2.50 2.50a 2.50b 2.60
2.60a hc31 errmsg
err msg message
KBCategory: kbtool kbprb kberrmsg
KBSubcategory: FxotherDochelp


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.