That's the theory.  However I don't fully trust windows (if you have ever used 
a pocketpc for long you will understand why I don't trust their memory 
management).

I have noticed that when the applications mem usage creeps up to above 40 meg, 
it "seems" to respond slower.  Minimising and maximising appears to fix this 
leading me to suspect the memory is an issue (probably fragmentation rather 
than volume).

The important word in my comment below is "trial".

Regards

Sean
-----------------------------
Sean Cross
Systems Development

CRM
PO Box 230
Napier
Phone:   06 835 5868
Mobile:  021 270 3466
Email:   [EMAIL PROTECTED]


 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Kyley Harris
> Sent: Thursday, 1 December 2005 1:31 p.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Memcheck
> 
> 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 
> <[EMAIL PROTECTED]> 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:   [EMAIL PROTECTED]
> >
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] 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 
> >> <[EMAIL PROTECTED]> 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
> >> [email protected]
> >> http://ns3.123.co.nz/mailman/listinfo/delphi
> >>
> >>
> >
> > _______________________________________________
> > Delphi mailing list
> > [email protected]
> > http://ns3.123.co.nz/mailman/listinfo/delphi
> 
> 
> 
> --
> Kyley Harris
> +64-21-671821
> _______________________________________________
> Delphi mailing list
> [email protected]
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 
> 

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to