XPav -> (8/20/2002 11:56:39 AM)
|
Memory leak is what Matrix says. I just don't buy it. :-) A memory leak is when the program goaes "Hey! Operating System! Give me some memory to play with!" It doesn't give it back, and forget that it has it. Next time the program comes back to the same thing, it goes "Hey! Operating System! Give me some memory to play with!". Do this enough from one program with big enough chunks of memory on the system and you can get the thing to start using so much memory that the OS has to really start working, swapping memory out to disk, etc etc. The problems all go away when the program is completely terminated, or worse comes to worse (if the program really started doing some stupid things), when the computer is rebooted. Memory leaks are a common problem when writing code in C and C++. The sad part is that there's so many, many ways to avoid memory leaks that we shouldn't have to deal with them.
|
|
|
|