Memory Cleanup
From HPCBugBase
HPCBugBase Menu
Submit feedback
Overview
Index
- Defect types (defect patterns)
- Specific defects (individual defects that belong to a defect type)
- Instances (code examples)
- Articles (various info)
- Templates
- Show all categories
- Show all pages
Index by Languages
Contents |
[edit] Defect Type Description
This defect type is intended to cover defects associated with a failure to cleanup memory properly. It is currently classified as a sub-type of the Memory Management defect type.
By "memory cleanup", we mainly refer to two different situations.
- In typical HPC applications, the same memory buffer is repeatedly read and written in the main loop. If the "garbage" from the previous loop is not cleaned up properly, it can cause unexpected problems.
- If the application allocates memory and does not release it properly, it can eventually lead to an out-of-memory failure. (It is often called a "memory leak".)
While these defects are not unique to HPC applications, they are more likely to show up in the HPC domain because of the typical size of the buffer used and the scale of the HPC problems. Also, these defect types may not seen until the application is run on a certain number of processors.
[edit] Entries
[edit] Advice
[edit] Symptom
[edit] Other Findings and Contexts
|
Pages referring to this entry: Main Page Memory Management |
