Re: Fragmenting memory



> Thx for the info. So it's only a problem if the MM can't merge the free
> chunks.

As I understand it, yes, since the merging is effectivly defragging. Take a
look at FastMM4 and BucketMM, I think there's a good amount of comments in
each(FastMM4 for sure) that helps explain how they work, they both use the
memory pools approach. I think there's also an article on the NexusDB site
that talks about fragmenting and how it effects the default Delphi MM. For
normal desktop apps its not really that big of a deal, the Delphi MM hasn't
changed at all since Delphi 2 as far as I know and it hasn't been that big
of a problem. Server apps, ie 24x7 type apps it is a problem and you'll see
memory usage, or address space usage slowly increase.


FastMM4 - look in the source code for comments, Pierre explains it quite
good:
http://sourceforge.net/projects/fastmm/

Nexus fragmentation info:
http://www.nexusdb.com/showpage.asp?Id=127

DD


.



Relevant Pages

  • Re: Attention doomsayers
    ... I am very worried where Code Gear, and more importantly Delphi will be in 3 years. ... One, is to seed the market with low to zero costs (not sure CodeGear can afford to do this), The Turbos are a good idea and can aid with this introduction. ... start making deals with third party vendors to create plugins for their environments. ... MS apps are at the point with VS 2008, ...
    (borland.public.delphi.non-technical)
  • Re: Attention doomsayers
    ... I am very worried where Code Gear, and more importantly Delphi will be in 3 years. ... One, is to seed the market with low to zero costs (not sure CodeGear can afford to do this), The Turbos are a good idea and can aid with this introduction. ... start making deals with third party vendors to create plugins for their environments. ... MS apps are at the point with VS 2008, ...
    (borland.public.delphi.non-technical)
  • Re: Attention doomsayers
    ... That independence is one thing that Codegear can bring to ... Delphi will be in 3 years. ... The JBuilder team used to include plugins for Vignette, ... Windows GUI apps, IMHO, is a no go. ...
    (borland.public.delphi.non-technical)
  • Re: Over 100 Microsoft MVPs Have Signed Online Petition - Give Us Back VB!!
    ... Microsoft tools are not cheap for lack of spending on them. ... > For the most demanding programmers, ... apps I know aren't thin data covers. ... >> FORTRAN code in any language, including Delphi. ...
    (borland.public.delphi.non-technical)
  • Re: How would you steer Delphi if you were Nick?
    ... realistic - .NET applications are going to be developed using Visual ... Studio (new apps, at least). ... Delphi is an alternative, but since it is not made by MS, it is ... There is nothing to make the Object Pascal language especially desirable ...
    (borland.public.delphi.non-technical)