Jump to content

abak

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by abak

  1. abak

    Which Indy version in Delphi 12

    Merci Remy...
  2. abak

    Experience/opinions on FastMM5

    Thank you Arnaud, I totally agree with. @Pierre le Riche Hi Pierre, I detect a small problem with FastMM5 in Delphi 10.3.3 Pro (authentic EMB Licence). Maybe I did wrong things. Just test this : 0. Add Library (32) : ...\FastMM\FastMM5-master\FastMM5-master 1. Run Delphi 10.3.3 Pro (with original borlndmm.dll in ..\bin) 2. Open ...\FastMM5-master\BorlndMM DLL\BorlndMM.dpr 3. Compile (Relase or Debug) 4. Quit Delphi 5. Just rename the original as : borlndmm_OLD.dll and replace it by the newer : BorlndMM.dll 5. Run Delphi 6. Quit Delphi then the message : "Invalide Pointer Operation" resises ! followed by : Acces Vilation at adress 2172415C in Module 'bds.exe', Read of adress 2172415C Note : Whit the original EMB (BorlndMM.dll) no problem. Best Regards. ________________________________________________________________ Edited 29/05/2020 17:40 : The problem disappeared when i restarted the PC. Sorry for the alert.
  3. abak

    Experience/opinions on FastMM5

    Thx again for the details. If I understand, for new applications and for a good practice, now, all Delphi programmer should integrate FastMM5 in its uses project's dpr file. By this way, these applications will have better memory management (than with the original from EMB/ BorlndMM DLL). Is it True ?
  4. abak

    Experience/opinions on FastMM5

    Hello Experts, For the Performance of deployed applications (a better memory management) how can we integrate (and where deploy it with our application) the new BorlndMM.dll ? Thx
  5. abak

    Experience/opinions on FastMM5

    Thank you so much Pierre You simplfy many things for us !
  6. abak

    Experience/opinions on FastMM5

    Thank youGünther Schoch, 1. I Modified the procedure FastMM_ApplyLegacyConditionalDefines (and MemoryLeaks appears) as : procedure FastMM_ApplyLegacyConditionalDefines; begin FastMM_LogToFileEvents := FastMM_LogToFileEvents + [mmetUnexpectedMemoryLeakDetail, mmetUnexpectedMemoryLeakSummary]; FastMM_MessageBoxEvents := FastMM_MessageBoxEvents + [mmetUnexpectedMemoryLeakSummary]; end; 2 OK How can FastMM5 detect LegacyConditionalDefines. Do we have to copy FastMM4Options.inc into then new Directory \FastMM5-master ? 3. Not obvious for me. Can someone show an example Appreciate help.
  7. abak

    Experience/opinions on FastMM5

    Hello Sirs, First, I would like to thanks Pierre Le Riche for its Great Work ! I just : 1. Downloaded the latest FastMM5 from https://github.com/pleriche/FastMM5 2. Replace the Original BorlndMM.dll : C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\BorlndMM.dll By the newer (i complided FastMM5-master\BorlndMM DLL ) 3. Add to the Library : Options > Delphi > Langage > Library ...\FastMM\FastMM5-master\FastMM5-master 4. Add the first uses on the Project (Main program) uses FastMM5, 5. begin ReportMemoryLeaksOnShutdown := True; end; Then, when testing a simple test : procedure TForm1.FormCreate(Sender: TObject); var L:TStrings; begin L:=TStringList.Create; L.Add('abc'); end; No memoryLeaks raises ! Did I mistake a step ? Please advise.
×