Content deleted Content added
No edit summary |
|||
Line 1:
In [[computer programming]], '''resource management''' refers to techniques for managing [[System resource|resources]] (components with limited availability). It includes both preventing [[resource leak]]s (
[[Computer program]]s may manage their own resources, and there are various techniques for resource management, depending on the [[programming language]]; {{harvtxt|Elder|Jackson|Liblit|2008}} is a survey article contrasting different approaches. Alternatively, they can be managed by a host – an [[operating system]] or [[virtual machine]] – or another program. This is known as ''resource tracking,'' and consists of cleaning up resource leaks: terminating access to resources that have been acquired but not released after use. This is known as ''reclaiming'' resources, and is analogous to [[Garbage collection (computer science)|garbage collection]] for memory. On many systems the operating system reclaims resources after the process makes the [[exit (system call)|exit]] [[system call]].
|