home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / misc / 40005 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!ukma!cs.widener.edu!dsinc!pitt.edu!djbpitt
  2. From: djbpitt+@pitt.edu (David J Birnbaum)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: swap file question
  5. Keywords: trident, scrolling, os2
  6. Message-ID: <990@blue.cis.pitt.edu>
  7. Date: 19 Dec 92 17:51:31 GMT
  8. References: <1992Dec18.213054.17329@dlogics.com>
  9. Sender: news+@pitt.edu
  10. Organization: University of Pittsburgh
  11. Lines: 37
  12.  
  13. I'm afraid I ignored all the "swap file full" postings, since I am
  14. running with 16MB of RAM and only four or five programs going at a time,
  15. which led to me think that I was unlikely to be swapping at all. I was
  16. rudely awakened yesterday when my swap file suddenly announced that it
  17. had grown to 20MB, gobbling up all remaining space in my C partition and
  18. bringing various programs to a screeching halt. I closed all
  19. applications, reset the swap location to a larger drive, deleted the old
  20. swap file, and rebooted, so the crisis has been solved, but two
  21. questions still linger:
  22.  
  23. 1. How could a simple configuration like mine, with more memory than
  24. could possibly be needed for the applications I am running, ever
  25. generate a 20MB swap file? That is, where did all this swapped-out data
  26. come from?
  27.  
  28. 2. How can I prevent the swap file from growing beyond a certain size in
  29. the future? My D drive has plenty of free space for now, but is there a
  30. setting I can enter that will tell the swap file to start dumping
  31. unneeded information after it grows to a certain maximum size? In other
  32. words, is there a user setting to force garbage collection?
  33.  
  34. The relevant line in my config.sys file reads:
  35.  
  36. swappath=d:\os2\system 2048 2048
  37.  
  38. It originally was on the C partition, but I switched it to D and created
  39. the relevant subdirectories. The swap file is set up at about 2MB and
  40. has not grown since I reset it.
  41.  
  42. Thanks for any suggestions,
  43.  
  44. David
  45. -- 
  46. Professor David J. Birnbaum         djbpitt+@pitt.edu [Internet]
  47. The Royal York Apartments, #802     djbpitt@pittvms   [Bitnet]
  48. 3955 Bigelow Boulevard              voice: 1-412-687-4653
  49. Pittsburgh, PA  15213  USA          fax:   1-412-624-9714
  50.