Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!asuvax!ncar!noao!coyote!bbs From: ferdie@coyote.datalog.com (fred jarvis) Newsgroups: comp.windows.ms.programmer Subject: Re: Allocating a lot of memory (why can't I?) Message-ID: Date: 5 May 91 05:50:58 GMT References: <518@pcad.UUCP> Sender: bbs@coyote.datalog.com (Waffle System) Organization: Datalog Consulting, Tucson, AZ Lines: 15 rob@pcad.UUCP (Ralph Brown) writes: > > Running Win 3.0 in enhanced mode, there seems to be some limit to how > much memory a windows app can allocate which is much less than the > amount of free virtual memory. With over 7Mb free, I could only do > a Global32Alloc of about 1.3 Mb. A second copy of the same program could > simultaneously get about the same amount leaving about 5Mb still free. I have found that although there seems to be a limit on the amount of global memory you can get with one call to GlobalAlloc (about .8 meg on our 8 meg system), you can make repeated calls to GlobalAlloc to get more memory (each with a different handle). Don't ask me why--I've given up trying to understand this stuff. Fred Jarvis ferdie@coyote.datalog.com