On Monday 03 December 2001 12:17 pm, you wrote: > Ed Tharp wrote: > > this has been gone into for ever..but what you are veiwing _Might_ have > > to do with the cache use by linux. I don't think it is a "memory leak" > > (this ain't your win 95 box) > > I don't think there is anything inherent in Linux which will prevent > memory leaks -- it comes down to care and testing by the programmer. > AFAIK, memory leaks can be created anywhere C or C++ are used (and > probably many other languages). > Yup, I just tested that. Linux does not appear to make any attempt to stop memory leaks. I wrote a quick program with an infinite loop that dynamically allocated some memory. Watching top, its memory usage climbed dramatically.
There's really no way for Linux to know if I really am using that memory or not, so I don't see how it could interfere. Matt _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
