Article View: comp.windows.ms.programmer
Article #1987Loading large programs, (or am I missing something?)
From: Ralph Brown
Date: Fri, 05 Apr 1991 21:39
Date: Fri, 05 Apr 1991 21:39
19 lines
1235 bytes
1235 bytes
I'm working with a protected mode system (which is nameless but I like) and attempting to build large programs, say 2+ Mbytes. This works great, however it appears that Win3.0 won't load a program that is larger than 25% of the available virtual memory (enchanted mode only). As a test, I set up a permanent swap file of 6M, and was able to run a given program. Then I changed the swap file down to 2M and attempted to run the same program. I got an insufficient memory error. This is all pretty bizzarre considering that with 4M of RAM I wasn't even getting to the swap file in either case. It is possible with a larger swap file to run combinations of programs that are larger in sum than the largest individual program that can be started. I believe this is due to the above 25% algorithm. Does anyone have any comments on this, or if possible a fix? Thanks, Ralph
Technical Details
Message-ID:
<501@pcad.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!pcad!robShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!pcad!rob From: rob@pcad.UUCP (Ralph Brown) Newsgroups: comp.windows.ms.programmer Subject: Loading large programs, (or am I missing something?) Message-ID: <501@pcad.UUCP> Date: 5 Apr 91 21:39:01 GMT Organization: Personal CAD Systems, Westford, MA Lines: 19