home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / allocmem.zip / READ.ME < prev   
Text File  |  1997-09-23  |  1KB  |  33 lines

  1.  
  2. I originally grabbed this file out of curiosity, as I am a budding C
  3. programmer and thought this was a code snippet.
  4.  
  5. Much to my surprise, it's a funtional utility that I am quite happy to
  6. have found.
  7.  
  8. When you execute ALLOCMEM.EXE in an os2 session, it will cause all loaded
  9. Dynamic Linked Libraries to be swapped from memory to the hard drive.
  10.  
  11. Resulting in a completely empty memory map. (complete as possible, the
  12. os2 kernel and support drivers have to stay in memory)
  13.  
  14. What effect does this have?
  15.  
  16. The best! As all of those unused .dll's are now swapped out of memory,
  17. making more room for "your" programs. Whether you know it or not, when you
  18. boot os2, the system will load in every possible .dll that you may or may
  19. not need during your "compute sessions". To my amazment, a lot of the
  20. "default" loading of .dll's is never used during my work. I based this
  21. "discovery" on my use of ALLOCMEM and a resource manager and how my system
  22. behaves during use. Since I am able to clear out a large portion of memory,
  23. I have opted to boost my hpfs386 cache from 4meg to 6meg, and still have
  24. almost 6meg free on my 20meg machine...
  25.  
  26. Also, since I run a bbs, I added two new events into the bbs schedule.
  27. At 12:00 noon and midnight, I have the bbs run ALLOCMEM, making sure the
  28. memory map stays vacated...
  29.  
  30. Works great...
  31.  
  32.  
  33.