FastMM的安装方法
2015-10-30 10:19
239 查看
FastMM 快速在D2006和2007中已代替了原来的内存管理器。D7也可以使用,而且很方便哦。请看步骤:
1. FastMM是开源项目,去她老家先拖个来.
http://sourceforge.net/projects/fastmm
2.文件替换
Replacement BorlndMM DLL\Precompiled\for Delphi IDE\Performance\BorlndMM.dll,
替换掉Delphi\Bin下的相应文件就可以完成对IDE的提速
3. 添加FassMM路径
Enviroment->Library->Directories添加FassMM路径
4.使能FastMM4
在你的项目文件中,Project->View Source打开后,uses 后第一个添加FastMM4
5.All done!
运行程序,如果有Memory leak,在关闭程序时会有一个提示对话框.
对话框也是可以关闭的
打开FastMM4Options.inc文件。在文件的末尾添加如下代码:
{$define Release}
{$ifdef Release}
重新打开把上面第一行条件编译定义选项{$define Release} 注释掉就可以了 如 //{$define Release}即可
1. FastMM是开源项目,去她老家先拖个来.
http://sourceforge.net/projects/fastmm
2.文件替换
Replacement BorlndMM DLL\Precompiled\for Delphi IDE\Performance\BorlndMM.dll,
替换掉Delphi\Bin下的相应文件就可以完成对IDE的提速
3. 添加FassMM路径
Enviroment->Library->Directories添加FassMM路径
4.使能FastMM4
在你的项目文件中,Project->View Source打开后,uses 后第一个添加FastMM4
5.All done!
运行程序,如果有Memory leak,在关闭程序时会有一个提示对话框.
对话框也是可以关闭的
打开FastMM4Options.inc文件。在文件的末尾添加如下代码:
{$define Release}
{$ifdef Release}
{Specify the options you use for release versions below}
{$undef FullDebugMode}
{$undef CheckHeapForCorruption}
{$define ASMVersion}
{$undef EnableMemoryLeakReporting}
{$undef UseOutputDebugString}
{$undef LogErrorsToFile}
{$undef LogMemoryLeakDetailToFile}
{$else}{$undef FullDebugMode}
{$undef CheckHeapForCorruption}
{$define ASMVersion}
{$undef EnableMemoryLeakReporting}
{$undef UseOutputDebugString}
{$undef LogErrorsToFile}
{$undef LogMemoryLeakDetailToFile}
{Specify the options you use for debugging below}
{$define FullDebugMode}
{$define EnableMemoryLeakReporting}
{$define UseOutputDebugString}
{$endif}{$define FullDebugMode}
{$define EnableMemoryLeakReporting}
{$define UseOutputDebugString}
重新打开把上面第一行条件编译定义选项{$define Release} 注释掉就可以了 如 //{$define Release}即可
相关文章推荐
- Mars老师的Android学习基本路线
- grep搜索子目录中包含某字符串的特定文件
- c语言const、volatile问题小结
- How to check system status with basic Linux utilities.
- MongoDB 学习笔记五 MapReduce
- nginx 配置 性能优化
- MySql concat函数
- UILabel的常用属性
- 边锋面试失败的反思总结
- jQuery Autocomplete 自动补全功能
- 项目分布式部署那些事(2):基于OCS(Memcached)的Session共享方案
- 共享内存 —— 通过SharedPreferences实现进程间数据共享的问题详解
- PgSQL Replication Slot 实现分析
- Git分支管理与冲突解决
- 【Java开发】--jdom解析xml-获取xml
- 高德地图API使用笔记 -- bootstrap样式与高德地图兼容的问题
- kafka+zookeeper环境配置(Mac 或者 linux环境)
- CSS3中的Rem值与Px之间的换算
- Ignite China 2015 之行
- 课堂笔记—— post 上传