🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#2581
From: Craig Eisler
Date: Mon, 13 May 1991 00:32
18 lines
1398 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.

Windows 3.0 has some insane restriction on your real-to-virtual ratio 
when allocating memory in enhanced mode; on a system with 64MB of virtual
memory, the maximum I have been able to Global32Alloc is about 18MB.

I have been told by those in the know that this silly restriction will
leave us in Windows 3.1, but for now, we're just stuck.

craig
-- 
Craig Eisler, still hiding from the real world.
University of Waterloo, Waterloo, Ontario.
Technical Details
Message-ID: <1991May13.003243.26563@maytag.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!maytag!cgeisler
References: <518@pcad.UUCP> <H4Lg21w163w@coyote.datalog.com> <72271@microsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!maytag!cgeisler
From: cgeisler@maytag.waterloo.edu (Craig Eisler)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Allocating a lot of memory (why can't I?)
Message-ID: <1991May13.003243.26563@maytag.waterloo.edu>
Date: 13 May 91 00:32:43 GMT
References: <518@pcad.UUCP> <H4Lg21w163w@coyote.datalog.com> <72271@microsoft.UUCP>
Organization: University of Waterloo
Lines: 18