bestlong 怕失憶論壇

 

 

搜索
查看: 5434|回復: 3
go

FastMM [複製鏈接]

Rank: 9Rank: 9Rank: 9

1#
發表於 2008-3-3 11:06 |只看該作者 |倒序瀏覽 |打印
FastMM is a lightning fast replacement memory manager for Borland Delphi Win32 applications that scales well in multi-threaded applications, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files.

http://sourceforge.net/projects/fastmm/
http://fastmm.sourceforge.net/
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw

Rank: 9Rank: 9Rank: 9

2#
發表於 2010-6-3 10:34 |只看該作者
安裝 FastMM 很簡單, 下載後解壓縮放到特定目錄下
以我來說是放在 C:\Program Files\Borland\Delphi5\FastMM494 目錄內容如下圖:

fastmm.jpg

然後設定 Delphi 的 Tools > Environment Options > Library Path 如下圖:

delphi-env-lib.jpg

delphi-env-lib-dir.jpg
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw

Rank: 9Rank: 9Rank: 9

3#
發表於 2010-6-3 10:35 |只看該作者
想在應用程式中使用 FastMM 只要在 .dpr 專案檔中的 uses 中第一個加入 FastMM4 就可以了,範例如下:
  1. program Project1;

  2. uses
  3.   FastMM4,
  4.   Forms,
  5.   Unit1 in 'Unit1.pas' {Form1};

  6. {$R *.RES}

  7. begin
  8.   Application.Initialize;
  9.   Application.CreateForm(TForm1, Form1);
  10.   Application.Run;
  11. end.
複製代碼
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw

Rank: 9Rank: 9Rank: 9

4#
發表於 2011-10-25 15:38 |只看該作者
FastMM 不單是可以改善應用程式的記憶體管理來提升效率,也可以改善整合開發環境的執行效率

解壓縮後可在 Replacement BorlndMM DLL\Delphi\Precompiled\for Delphi IDE\Performance\ 目錄下找到 BorlndMM.dll 檔案,用來替換掉 Borland\DelphiX\bin 目錄內(X 為版本號)的同名檔案,會提升開發環境的運作速度。(覆蓋前一定要先做備份)
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw
‹ 上一主題|下一主題

Archiver|怕失憶論壇

GMT+8, 2024-5-17 12:49 , Processed in 0.012522 second(s), 12 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.