🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2438

Re: Allocating a lot of memory (why can't I?)

#2438
From: fred jarvis
Date: Sun, 05 May 1991 05:50
15 lines
1237 bytes
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
Technical Details
Message-ID: <H4Lg21w163w@coyote.datalog.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!asuvax!ncar!noao!coyote!bbs
References: <518@pcad.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <H4Lg21w163w@coyote.datalog.com>
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