home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: joe2@vnet.ibm.com
- Message-ID: <19921117.060542.952@almaden.ibm.com>
- Date: Tue, 17 Nov 92 12:49:38 FWT
- Newsgroups: comp.os.os2.programmer
- Subject: Re: OS/2 memory management (ARGH!)
- Reply-To: <joe2@vnet.ibm.com>
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.0
- References: <1b68f11e@p11.f9.n242.z2.fidonet.org> <721559538marten.marten@feki.t
- <BxuAFo.Fqt@ns1.nodak.edu>
- Lines: 30
-
- In <BxuAFo.Fqt@ns1.nodak.edu> Brett G Person writes:
- >In article <721559538marten.marten@feki.toppoint.de> marten@feki.toppoint.de (Ma
- >rten Feldtmann) writes:
- >>In article <1b68f11e@p11.f9.n242.z2.fidonet.org> Roman_Grzondziel@freax.fido.de
- > (Roman Grzondziel) writes:
- >>
- >
- >> A question: why are there always 512 KB available ?
- >>
- >My guess is that 512K is theminimum amount of memory that OS/2 will need to
- >do things like a load, save, or swap. I started using OS/2 with the minimum
- >memory required ( $M) and quickly added another two. From hat I can tell,
- >OS/2 is still reserving 512K.
- >
- >I'm planning on adding more memory when memory prices sablize.
- >
-
- Not exactly... On OS/2 1.x, DosMemAvail was the largest block
- of memory available. This does not make sense with OS/2 2.0, because
- of paging hardware.
- I understand that Boca decided to always show at least 512Kb
- of free memory to *16bit* applications, because a few of them
- will just stop working if DosMemAvail returns 0.
- So right now:
- DosMemAvail = max (512Kb, free pages)
-
- If you really want the amount of free memory, you need SPM/2, to be released
- RSN (System Performance Monitor/2)
-
- -Joel Armengaud
-