View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
This is actually a VFP error.  Here's the description:

Program is too large (Error 1202)
The program that Visual FoxPro is attempting to load will not fit into memory. The largest program or individual procedure Visual FoxPro can load is one containing 65,000 bytes.

Does this occur in conjunction to an FWX script?  It seems that the resulting PRG file is too large.  Even if your FWX script is less than 65,000 bytes, you may still get this error.  FoxWeb adds some debugging information in PRG files, which helps it log the correct line number and line content when a run-time error occurs.  If you switch from static content to FoxWeb script code too many times in your script, this debugging information can get quite large and push the PRG past the 65,000 byte limit.

You can examine the PRG file by enabling the "Keep PRG Files" option in the FoxWeb configuration and forcing a recompilation by deleting the FXP file and calling your script from a browser.

FoxWeb Support Team
support@foxweb.com

Sent by Roger Stanley on 11/07/2001 09:15:43 AM:
Program to large error message.

Got this with 900 lines of code for a display (most lines had a trim and subs command).