Re: Memory limitation



Marco van de Voort wrote:
On 2006-10-26, Rob Kennedy <me3@xxxxxxxxxxx> wrote:
This requires that you stay away from pointer arithmetic on signed integers. If you want to use /3GB you should also use fastmm and enable the correct switches (see usage section of readme file).

Of course, avoiding signed pointer arithmetic and using FastMM are good ideas even if you don't need 3 GB of address space.

Why? I tried FastMM in two projects, and both slowed down significantly.

Be wary to change to fastmm if your apps might have (inadvertedly) been
tuned to the old memmgr.

OK, OK. Let me rephrase: _Considering_ FastMM is a good idea. It doesn't suddenly speed up every program, but it helps some.

Besides, it's more than just a memory manager. It helps find leaks and trace improper freeing. As I understand it, when used as the IDE's memory manager, it also fixes some of Delphi's bugs.

--
Rob
.



Relevant Pages

  • Re: Memory limitation
    ... on signed integers. ... enable the correct switches (see usage section of readme file). ... avoiding signed pointer arithmetic and using FastMM are good ...
    (comp.lang.pascal.delphi.misc)
  • Re: Memory Manager Test Results
    ... It appears as if Task Manager ... I have measured the VM Usage using the Win32 API call "GlobalMemoryStatus", ... A cursory inspection of the memory map provided by the FastMM ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: ReportMemoryleaksOnShutdown:=true;
    ... starting with D2006 the venerable "Borland" memory manager was replaced by a stable version of Pierre le Riche's open sourced FastMM memory manager. ... Up until that version of Delphi, you could perform this replacement yourself by adding the open-source FastMM4.pas unit to your .dpr uses-list. ...
    (borland.public.delphi.non-technical)
  • Re: New COM Features
    ... projects to this new memory manager and now have all my IDE's (D5 thru ... I know - I had already investigated using FastMM with the D6 version of ... you can't compile with packages - you have to compile into a single EXE. ... Did replace the standaard delphi mm dll with FastMM as well ...
    (borland.public.delphi.non-technical)
  • Re: FastMM
    ... I copied the full debug files over to the Bin ... Copy the DLL to make the IDE itself ... > use the FastMM memory manager. ... and each can use a different memory manager. ...
    (alt.comp.lang.borland-delphi)