Posts: 2
Threads: 1
Joined: Aug 2024
Reputation:
0
Location: earth
Hi,
Can someone please share their expertise with FASTMM4 install?
I am starting a new IW project and wanted to use FASTMM4, after reading a very interesting blog post from Alexandre. One of my main questions would be if the latest version of FASTMM4 will work fine in my environment (details below). There is a download of it available on IW website, but it is from 2018, almost seven years ago. I wonder what would be the best approach.
- Would it be better to just leave it to run with the Delphi standard MM for now and decide it later, so not to waste time on it now?
Thanks all!
FASTMM4 Github
https://github.com/pleriche/FastMM4 (is this the correct one?)
Environment:
Delphi 11.3 Alexandria
IntraWeb 15.3.6
IW new application options selected o the wizard: -StandAlone Application (Indy), - Use JCL Stack Trace - Pool Data Connections - Use FastMM4 Mem manager
Project Setup After Executing the Wizard:
uses
FastMM4,
IWRtlFix,
IWJclStackTrace,
IWJclDebug,
IWStart,
Unit1 in 'Unit1.pas' {IWForm1: TIWAppForm},
ServerController in 'ServerController.pas' {IWServerController: TIWServerControllerBase},
UserSessionUnit in 'UserSessionUnit.pas' {IWUserSession: TIWUserSessionBase},
DatamoduleUnit in 'DatamoduleUnit.pas' {DataModule1: TDataModule};
{$R *.res}
begin
TIWStart.Execute(True);
end.
Posts: 83
Threads: 23
Joined: Feb 2022
Reputation:
1
Location: Melbourne
(01-30-2025, 03:41 AM)joaodasilva Wrote: Hi,
Can someone please share their expertise with FASTMM4 install?
I am starting a new IW project and wanted to use FASTMM4, after reading a very interesting blog post from Alexandre. One of my main questions would be if the latest version of FASTMM4 will work fine in my environment (details below). There is a download of it available on IW website, but it is from 2018, almost seven years ago. I wonder what would be the best approach.
- Would it be better to just leave it to run with the Delphi standard MM for now and decide it later, so not to waste time on it now?
Thanks all!
FASTMM4 Github
https://github.com/pleriche/FastMM4 (is this the correct one?)
Environment:
Delphi 11.3 Alexandria
IntraWeb 15.3.6
IW new application options selected o the wizard: -StandAlone Application (Indy), - Use JCL Stack Trace - Pool Data Connections - Use FastMM4 Mem manager
Project Setup After Executing the Wizard:
uses
FastMM4,
IWRtlFix,
IWJclStackTrace,
IWJclDebug,
IWStart,
Unit1 in 'Unit1.pas' {IWForm1: TIWAppForm},
ServerController in 'ServerController.pas' {IWServerController: TIWServerControllerBase},
UserSessionUnit in 'UserSessionUnit.pas' {IWUserSession: TIWUserSessionBase},
DatamoduleUnit in 'DatamoduleUnit.pas' {DataModule1: TDataModule};
{$R *.res}
begin
TIWStart.Execute(True);
end.
Yes, it very probably would. Myself, I settled on ScaleMM2 instead. I have seen cases, where a DLL would not unload cleanly (or at all), if _any_ (or some) non-default MM is used, but that could only be an issue for you if you were using ISAPI DLL's.
Posts: 2
Threads: 1
Joined: Aug 2024
Reputation:
0
Location: earth
(01-30-2025, 12:06 PM)iwuser, thanks a lot! I will leave it with Delphi for now and when the App is completed will try those managers. Great clue about the DLLs not unloading! Cheers! Wrote: (01-30-2025, 03:41 AM)joaodasilva Wrote: Hi,
Can someone please share their expertise with FASTMM4 install?
I am starting a new IW project and wanted to use FASTMM4, after reading a very interesting blog post from Alexandre. One of my main questions would be if the latest version of FASTMM4 will work fine in my environment (details below). There is a download of it available on IW website, but it is from 2018, almost seven years ago. I wonder what would be the best approach.
- Would it be better to just leave it to run with the Delphi standard MM for now and decide it later, so not to waste time on it now?
Thanks all!
FASTMM4 Github
https://github.com/pleriche/FastMM4 (is this the correct one?)
Environment:
Delphi 11.3 Alexandria
IntraWeb 15.3.6
IW new application options selected o the wizard: -StandAlone Application (Indy), - Use JCL Stack Trace - Pool Data Connections - Use FastMM4 Mem manager
Project Setup After Executing the Wizard:
uses
FastMM4,
IWRtlFix,
IWJclStackTrace,
IWJclDebug,
IWStart,
Unit1 in 'Unit1.pas' {IWForm1: TIWAppForm},
ServerController in 'ServerController.pas' {IWServerController: TIWServerControllerBase},
UserSessionUnit in 'UserSessionUnit.pas' {IWUserSession: TIWUserSessionBase},
DatamoduleUnit in 'DatamoduleUnit.pas' {DataModule1: TDataModule};
{$R *.res}
begin
TIWStart.Execute(True);
end.
Yes, it very probably would. Myself, I settled on ScaleMM2 instead. I have seen cases, where a DLL would not unload cleanly (or at all), if _any_ (or some) non-default MM is used, but that could only be an issue for you if you were using ISAPI DLL's.
Posts: 2,299
Threads: 202
Joined: Mar 2018
Reputation:
87
Location: Auckland, New Zealand
03-04-2025, 09:04 AM
(This post was last modified: 03-04-2025, 09:05 AM by Alexandre Machado.)
The version that we include in our installer is the latest public release of FastMM 4, version 4.992, and comes preconfigured to the best possible performance in multi-threaded applications.
FastMM 4 is a solid product and is not evolving anymore, that's why it's "old". But it's not outdated. FastMM 4 is still one of the best memory managers around (not only for Delphi).
The author of FastMM created a new version 5, which is a different product and has a difference licensing.
|