home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!glia!crystal
- From: crystal@glia.biostr.washington.edu (Crystal)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Flushing Devices; C= doco (mutter!)
- Message-ID: <crystal.726454269@glia>
- Date: 8 Jan 93 00:51:09 GMT
- Article-I.D.: glia.crystal.726454269
- References: <1993Jan7.092127.13752@philips.oz.au> <1iia8tINNdeh@darkstar.UCSC.EDU>
- Organization: University of Washington
- Lines: 41
- NNTP-Posting-Host: glia.biostr.washington.edu
-
- In <1iia8tINNdeh@darkstar.UCSC.EDU> davids@cats.ucsc.edu (Dave Schreiber) writes:
-
-
- >In article <1993Jan7.092127.13752@philips.oz.au> gduncan@philips.oz.au (Gary Duncan) writes:
- >>Passing thought ; why the heck aren't unused libraries/devices
- >>flushed automatically anyway? Sounds like a legacy of the days
- >>when hard disks were rare and dragging a device off floppy was
- >>time-consuming. Those days are gone...
-
- >Why should they be flushed? An unused library essentially takes up
- >zero memory, since the memory it uses can be demanded from it at
-
- Then how come running "avail flush" returned 75k of memory to me if they
- take up ZERO memory...?
-
- >any time (and will be demanded from it before a memory allocation
- >is allowed to fail). The only people for whom auto-removal of
- >libraries is important are developers who are checking for memory
-
- Warning: you are dealing in absolutes here... developers are not the ONLY
- people for whom auto-removal of libraries is important. Those with
- little ram trying to run DTP programs or Database programs that access
- large textfiles or graphics likewise need to be able to have as much memory
- available to them as possible for their work, too.
-
- >leaks; there are plenty of ways of flushing libraries on those
- >rare occassions when it is needed.
-
- Ok, so, other than "avail flush", what other ways are there? I want to
- recover as much as I can from those programs that don't clean up after
- themselves.
-
- >I say this, BTW, as a non-professional developer with lots of hard
- >drive space and RAM, and who was checking a program for memory leaks
- >two days ago :-).
-
- >>Gary Duncan gduncan@rosella.pts.philips.oz.au
-
-
- >--
- >Dave Schreiber "Look. Don't touch." davids@cats.ucsc.edu (until 6/20/93)
-