Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 1202 Program is too large #2

Open
tachyx opened this issue Mar 14, 2019 · 0 comments
Open

Error 1202 Program is too large #2

tachyx opened this issue Mar 14, 2019 · 0 comments

Comments

@tachyx
Copy link

tachyx commented Mar 14, 2019

I'm just cross-posting this here from the old CodePlex forum because it doesn't seem to be included with the project files here.

If you get error 1202 Program is too large, you are running into the default 128k memory limit of VFP MTDLL's.

Create a CONFIG.FPW file and rebuilt the ActiveVFP project from the source code in VFP 9.0.

The config.fpw needs to contain the following lines:
ALLOWEXTERNAL=ON
PROGCACHE=0

ALLOWEXTERNAL=ON allows you to add a CONFIG.FPW file in your site folder so you can make other changes to the configuration without having to rebuild ActiveVFP.

PROGCACHE=0 allows dynamic memory allocation, as opposed to the 128k default memory limit. This line can be either in the CONFIG.FPW file in either ActiveVFP project build folder or in your site's folder.

COMMAND and _STARTUP do not work in external CONFIG.FPW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant