[DUG] Memcheck

Kyley Harris kyleyharris at gmail.com
Thu Dec 1 13:20:26 NZDT 2005


Does anyone actually care about such matters in real working life?

I mean, it operating system managed memory. When it needs it, it takes it  
back. One would hope and
presume that it is managing it in such a way as to appear efficient for  
speed and allocations by not retaking
memory pointers back from an application that may well want them again.

On Thu, 01 Dec 2005 14:21:17 +1300, Stefan Mueller  
<muellers at orcl-toolbox.com> wrote:

> You can do it manually (compressing the memory-creep) by calling:
>
> if Win32Platform = VER_PLATFORM_WIN32_NT then
>     SetProcessWorkingSetSize(GetCurrentProcess, $FFFFFFFF, $FFFFFFFF);
>
> This has the same effect like a minimize/maximize.
>
> Cheers,
> Stefan
>
>


More information about the Delphi mailing list