码迷,mamicode.com
首页 >  
搜索关键字:leak    ( 404个结果
Cocos2d-x Win32中使用Visual Leak Detector (for VC++)检查内存泄漏
VisualLeak Detector(vld,下载地址http://vld.codeplex.com/,当前版本v2.2.3)是VC++环境下一款小巧易用、免费开源的内存泄漏检测工具,相较于VC提供 的CRTDebugLibrary,vld可以显示导致内存泄漏的完整内存分配调用堆栈。vld具有以下一些特性:对每个leakedblock提供完整的..
分类:编程语言   时间:2014-07-20 23:41:53    阅读次数:391
内存泄漏以及常见的解决方法
之所以撰写这篇文章是由于前段时间花费了非常大的精力在已经成熟的代码上再去处理memory leak问题。写此的目的是希望我们应该养成良好的编码习惯,尽可能的避免这种问题,由于当你对着一大片的代码再去处理此类的问题,此时无疑添加了解决的成本和难度。准确的说属于补救措施了。1. 什么是内存泄漏(mem....
分类:其他好文   时间:2014-07-17 22:17:36    阅读次数:389
(转)剖析C++标准库智能指针(std::auto_ptr)
不可否认,资源泄露(resource leak)曾经是C++程序的一大噩梦.垃圾回收 机制(Garbage Collection)一时颇受注目.然而垃圾自动回收机制并不能 满足内存管理的即时性和可视性,往往使高傲的程序设计者感到不自在. 况且,C++实现没有引入这种机制...
分类:编程语言   时间:2014-07-08 23:45:57    阅读次数:348
垃圾回收(garbage collection)介绍
?? 垃圾回收用来实现内存的自动管理(automatic management),区别于人工管理(manual management)。人工管理内存容易出现的问题: 1)悬垂指针,dangling pointer 2)重复回收,Double free 3)内存泄露,memory leak 历史 垃圾回收的概念及技术由John McCarthy于1959年发明,应用于List...
分类:其他好文   时间:2014-07-03 16:34:03    阅读次数:194
warning:performSelector may cause a leak because its selector is unknown
在ARC项目中使用performSelector:withObject:函数出现“performSelector may cause a leak because its selector is unknown”。在stackoverflow找到了一个解决方案,地址:http://stackover...
分类:其他好文   时间:2014-06-25 13:03:01    阅读次数:270
[Android][Memory Leak] InputMethodManager内存泄露现象及解决
[Android][Memory Leak]InputMethodManager内存泄露现象及解决 现象:          在特定的机型天语k_touch_v9机型上,某个界面上出现InputMethodManager持有一Activity,导致该Activity无法回收.如果该Activity再次被打开,则旧的会释放掉,但新打开的会被继续持有无法释放回收.MAT显示Path to gc...
分类:移动开发   时间:2014-06-22 18:17:48    阅读次数:344
memory leak-----tomcat日志warn
web应用借助于结构:spring mvc + quartz结构,部署到tomcat容器时,shutdown时的error信息:appears to have started a thread named [schedulerFactoryBean_Worker-1] but has failed ...
分类:其他好文   时间:2014-06-12 15:13:30    阅读次数:702
vs2008内存泄露检测得到完美解决
YES,it's so easy,what we need to do is just include ,then the information of memory leaking will be shown on the screen....
分类:其他好文   时间:2014-05-31 21:14:52    阅读次数:334
the leak of the memory in c++ 03
The Leak of the Memory in C++     In this chaper I will introduce a new smart pointer which is scoped_ptr; It likes auto_ptr but better. When peopel use auto_ptr, sometimes they forget that auto_...
分类:编程语言   时间:2014-05-25 07:03:10    阅读次数:373
404条   上一页 1 ... 38 39 40 41 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!