转自Wikipedia
Memory Leak : it occurs when a computer program consumes memory but is unable to release it back to the operating system. In object-oriented programming, a memory leak happens when an object is stored in memory but cannot be accessed by the running code.
Memory Overflow : it occurs where a program, while writing data to a buffer, overruns the buffer’s boundary and overwrites adjacent memory.