ENCYCLOPEDIA 4U .com



Encyclopedia Home Page

Google
  Web Encyclopedia4u.com

 

Memory leak

Memory leaks are a consequence of a common error when programming, especially when programming in languages that have no garbage collection.

The error occurs when a program (thanks to an error made by the programmer) fails to release allocated memory to the system handling physical memory, which is often an operating system, resulting in an ever growing amount of memory being used. Eventually, the program is given all the available memory and the rest of the system will stop working correctly.

This is an usual problem of C and C++, so many tools exist to help detect these problems in C.





Content on this web site is provided for informational purposes only. We accept no responsibility for any loss, injury or inconvenience sustained by any person resulting from information published on this site. We encourage you to verify any critical information with the relevant authorities.



Copyright © 2005 Par Web Solutions All Rights reserved.
| Privacy

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Memory leak".