Mail Archives: djgpp-workers/1997/11/10/03:12:14
On Sun, 9 Nov 1997, Charles Sandmann wrote:
> While this is true, I don't think emacs is represetative of all programs
> out there - it's just a huge application - and no more important than
> any other program out there. Using emacs as the test bed ends up with
> a malloc package optimized for - emacs.
Emacs is an example of a program that allocates, frees and reallocates
memory like heck. Using system `malloc', it winds up using all
available free RAM and starts paging after several hours of serious
work. That's why it comes with its own malloc package that overcomes
this problem.
While no single program is representative of all programs, and
therefore should not be the *only* program to be tested, Emacs will
surely make the sample more representative. Different programs with
different memory-allocation patterns should be used, to make the
testing results more objective.
- Raw text -