Delphi7 的FastMM配置步骤
来源:互联网 发布:sot23 单片机 编辑:程序博客网 时间:2024/05/16 02:05
1> FastMM是开源项目, 从 http://sourceforge.net/projects/fastmm 下载最新版
2> 文件夹Replacement BorlndMM DLL/Precompiled/for Delphi IDE/Performance/BorlndMM.dll,替换掉Delphi/Bin下的相应文件就可以完成对IDE的提速
3> Enviroment->Library->Directories-> Library Path 添加FassMM路径,我放在Delphi安装目录下,直接设置为$(DELPHI)/FastMM
4> 在你的项目文件中,Project->View Source打开后,uses 后第一个添加FastMM4单元
5> 编译运行你的程序,如果有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}
{Specify the options you use for debugging below}
{$define FullDebugMode}
{$define EnableMemoryLeakReporting}
{$define UseOutputDebugString}{$endif}
重新打开把上面第一行条件编译定义选项{$define Release} 注释掉就可以了
如 //{$define Release} 即可.
- Delphi7 的FastMM配置步骤
- Delphi7 的FastMM配置步骤
- Delphi7 中使用FastMM
- Delphi7 中使用FastMM
- Delphi7 内存管理及 FastMM 研究
- Delphi7 内存管理及 FastMM 研究
- Delphi7 内存管理及 FastMM 研究[转]
- delphi的fastmm
- FastMM的安装方法
- fastmm 遇到的问题
- FASTMM
- 编写一个单独的Web Service for Delphi7(步骤)
- 编写一个单独的Web Service for Delphi7(步骤)
- FastMM 的安装与使用
- D7下FastMM的使用
- D7下FastMM的使用
- FastMM、FastCode、FastMove的使用
- FastMM、FastCode、FastMove的使用
- 有效检查Java代码的三个工具
- C语言的那些秘密之——函数返回局部变量
- Unix、Linux线程安全函数和非线程安全函数
- Android企业级程序完全退出的解决方案
- C#简易蜘蛛爬虫程序
- Delphi7 的FastMM配置步骤
- MapReduce输出数据到oracle中的支持的一个BUG
- linux下命令总结
- phpcms 知识总结
- 安卓-开发工具之adb
- 获得执行计划方法五-10053事件
- VS2010下Cannot find or open the PDB file
- 随机生成汉字与md5码生成
- input输入子系统