home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6506 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.6 KB

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