T
Tushar Udeshi
Hello,
We have a single-threaded application running on Windows which does a
large number of news and deletes of small chunks of memory (<128 K). I
was looking to improve performance and compiled ptmalloc
(http://www.nedprod.com/programs/Win32/ptmalloc2/) into our
application. On doing so I got a 15% performance improvement. However,
I found the application consuming far more memory than it used to when
using the default malloc. I monitor the memory usage in Task Manager
and it looks as though memory consumption is continuously increasing.
On the other hand using the default malloc causes memory consumption
to increase and decrease through various phases of the program as
expected. I suspect there is too much fragmentation. Are there any
flags I can tweak to reduce this? I already tried enabling the
TRIM_FASTBINS flag.
Also, suggestions for any other malloc replacement under windows would
also be greatly appreciated
We have a single-threaded application running on Windows which does a
large number of news and deletes of small chunks of memory (<128 K). I
was looking to improve performance and compiled ptmalloc
(http://www.nedprod.com/programs/Win32/ptmalloc2/) into our
application. On doing so I got a 15% performance improvement. However,
I found the application consuming far more memory than it used to when
using the default malloc. I monitor the memory usage in Task Manager
and it looks as though memory consumption is continuously increasing.
On the other hand using the default malloc causes memory consumption
to increase and decrease through various phases of the program as
expected. I suspect there is too much fragmentation. Are there any
flags I can tweak to reduce this? I already tried enabling the
TRIM_FASTBINS flag.
Also, suggestions for any other malloc replacement under windows would
also be greatly appreciated