[DUG] Memcheck

Kyley Harris kyleyharris at gmail.com
Thu Dec 1 13:30:55 NZDT 2005


But its not actually using that memory..... as soon as another application  
requires it the OS will take it back.
Its not like Mac OS 9 and below where you must preallocate ram to an  
application.

If your app is using 50mb, then its not going to get smaller. if it is  
using 26mb, but appearing to use 50mb then
its not actually hogging that ram at all. The minute you create operation  
31, those others will be reduced where
necessary (if its necessary)

Besides that. if you have 30 clients on citrix why dont you have 4-8gb of  
ram? or more ;) Ram is cheap.


On Thu, 01 Dec 2005 13:25:21 +1300, Sean Cross - CRM  
<sean.cross at crm.co.nz> wrote:

> Sometimes.  When you have 30 copies running on citrix, each taking up 50  
> meg...
>
> I am going to trial compressing the working set immediately after  
> loading, and then leaving it alone.  Once my app has loaded, it is using  
> 26 meg of which 22 is not actually required.
>
> Regards
>
> Sean
> -----------------------------
> Sean Cross
> Systems Development
>
> CRM
> PO Box 230
> Napier
> Phone:   06 835 5868
> Mobile:  021 270 3466
> Email:   sean.cross at crm.co.nz
>
>
>
>> -----Original Message-----
>> From: delphi-bounces at ns3.123.co.nz
>> [mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Kyley Harris
>> Sent: Thursday, 1 December 2005 1:20 p.m.
>> To: NZ Borland Developers Group - Delphi List
>> Subject: Re: [DUG] Memcheck
>>
>> 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
>> >
>> >
>> _______________________________________________
>> Delphi mailing list
>> Delphi at ns3.123.co.nz
>> http://ns3.123.co.nz/mailman/listinfo/delphi
>>
>>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi



-- 
Kyley Harris
+64-21-671821


More information about the Delphi mailing list