当前在线人数13930
首页 - 博客首页 - let comch pute be aos me you - 文章阅读 [博客首页] [首页]
Re: 请教个内存的问题
作者:heteroclinic
发表时间:2012-10-06
更新时间:2012-10-06
浏览:382次
评论:0篇
地址:174.
::: 栏目 :::

Let's disambiguate technically:

1. A process uses a lot of memory beyond the capacity of the OS. this is a design issue.
2. When a process is ended, the OS will claim back all resources recorded in the process table. If not, this process must trespass resource it doesn't own. The bucket leaks something to the floor.
3. The OS or the process itself can always track what it posses by checking the process table.

As far as I know in our team, C++ engineers only claim leakages found when the process ended. When the process is not ended, it is access violation/ segment fault etc.


【 在 Peppy (幸福万岁~~~) 的大作中提到: 】
: Memory leakage is the program lost track of the memories it requested along
: the time... such that some memory is allocated to the program in operating s
: ystem's record, however, program cannot access it.
: it




提示: 本博文来自于 Programming 版

[上一篇] [下一篇] [发表评论] [写信问候] [收藏] [举报] 
 
暂无评论
 
用户名: 密码:
发表评论
评论:
[返回顶部] [刷新]  [给heteroclinic写信]  [let comch pute be aos me you首页] [博客首页] [BBS 未名空间站]
 
Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有BBS 未名空间站(mitbbs.com) since 1996