Re: FastMM, FullDebugMode, not reallocate for smaller size?



Is there a solution to this problem, I can't use FastMM because if this
behaviour and use NexusMM instead. We use compression on alot 25-100k blocks
both in debug and nondebug mode.

Best regards,
Johan


"Qi" <kbasm.com@xxxxxxxxxxxxxxxxx> wrote in message
news:47db3948$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Seems under FullDebugMode, if I want to ReallocMem with
a smaller size, FastMM does keep the block without
reduce its size.

Am I right? If so, why? It will cause memory grows quickly
if many ReallocMem is used to reduce the memory size.


--
Denomo: memory and resource leak detection tool, free open source
CodeHook: Win32 code/API hook for Delphi & C++, free open source
http://www.kbasm.com/


.



Relevant Pages

  • Re: Memory Manager Test Results
    ... > discovered that Delphi's TMemoryStream Class do use Windows memory ... > allocation API - ie GlobalAlloc-, so will not use FastMM, nor any ... If you look at the FastMM ... you didn't activate compression on the Server. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Denomo, an open source memory leak detection tool
    ... than you for your great FastMM source code though ... Since the memory manager has direct access to all ... And if you have seen how Denomo interacts with the MM (no matter FastMM ... manage all needed data in memory in a high level leak detector. ...
    (borland.public.delphi.non-technical)
  • Re: Trying to eliminate memory address space usage
    ... memory fragmentation / address space usage. ... converting page content streams to ansi string ... Any FastMM config I can try / test? ... Experience using AQTime and alternatives? ...
    (borland.public.delphi.language.basm)
  • Re: ReportMemoryleaksOnShutdown:=true;
    ... FastMM memory manager. ... this replacement yourself by adding the open-source FastMM4.pas unit to your ...
    (borland.public.delphi.non-technical)
  • FastMM & MadExcept
    ... The fastmm report is ... The allocation number was: 7395 ... Stack trace of when the block was previously freed: ... Current memory dump of 256 bytes starting at pointer address DCA0D8: ...
    (borland.public.delphi.thirdpartytools.general)