Object Oriented Software Engineering View all facts Glossary Help |
subject > problem > defect > defect in handling stress and unusual situations > inappropriate management of resources > memory leak |
memory leak | ||||
subject | fact |
memory leak | can be detected by running a program for an extended period, and using a utility that indicates the amount of memory being used | |
can cause a computer to perform poorly or even run out of memory | ||
can occur in programs written in C, C++ and certain other languages | ||
has definition A situation in which a program requests memory but does not release it when it is no longer needed | ||
is a subtopic of 10.6 - Defects in Handling Stress and Unusual Situations | ||
is a kind of inappropriate management of resources | ||
inappropriate management of resources | has testing strategy run the program intensively over a long period of time in such a way that it uses many resources, relinquishes them and then uses them again repeatedly | |
defect in handling stress and unusual situations | is only encountered when a system is being heavily used, or forced to its limits in some other way | |
represents a lack of robustness | ||
defect | has example the absence of code to handle an exception | |
problem | has solution which will normally entail developing software, although you may decide that it is better to purchase software or to develop a non-software solution | |
should be written as a simple problem statement in one or two sentences |