home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18312 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.5 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!agate!darkstar.UCSC.EDU!cats.ucsc.edu!davids
  2. From: davids@cats.ucsc.edu (Dave Schreiber)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Flushing Devices;  C= doco (mutter!)
  5. Date: 7 Jan 1993 22:19:09 GMT
  6. Organization: University of California; Santa Cruz
  7. Lines: 24
  8. Message-ID: <1iia8tINNdeh@darkstar.UCSC.EDU>
  9. References: <1993Jan7.092127.13752@philips.oz.au>
  10. NNTP-Posting-Host: as215-ws-19.ucsc.edu
  11.  
  12.  
  13. In article <1993Jan7.092127.13752@philips.oz.au> gduncan@philips.oz.au (Gary Duncan) writes:
  14. >Passing thought ; why the heck aren't unused libraries/devices
  15. >flushed automatically anyway? Sounds like a legacy of the days 
  16. >when hard disks were rare and dragging a device off floppy was
  17. >time-consuming. Those days are gone...
  18.  
  19. Why should they be flushed?  An unused library essentially takes up
  20. zero memory, since the memory it uses can be demanded from it at
  21. any time (and will be demanded from it before a memory allocation
  22. is allowed to fail).  The only people for whom auto-removal of
  23. libraries is important are developers who are checking for memory
  24. leaks; there are plenty of ways of flushing libraries on those
  25. rare occassions when it is needed.
  26.  
  27. I say this, BTW, as a non-professional developer with lots of hard
  28. drive space and RAM, and who was checking a program for memory leaks
  29. two days ago :-).
  30.  
  31. >Gary Duncan            gduncan@rosella.pts.philips.oz.au    
  32.  
  33.  
  34. -- 
  35. Dave Schreiber  "Look.  Don't touch."  davids@cats.ucsc.edu (until 6/20/93)
  36.