At most, on minimize. There's no point to calling it anytime the app is in use, since your working set will immediately be refilled (and your app will slow down as the working set has to be paged back in).
On 1/25/06, nibletta <[EMAIL PROTECTED]> wrote: > > How often should a .NET application be calling EmptyWorkingSet? > > Alex > > > > -----Original Message----- > > From: Discussion of advanced .NET topics. > > [mailto:[EMAIL PROTECTED] On Behalf Of Dean Cleaver > > Sent: Wednesday, January 25, 2006 3:23 AM > > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > Subject: Re: [ADVANCED-DOTNET] Visual Studio 2005 consumes > > ALL computer memory (RAM and virtual) > > > > George, > > > > Given that PSAPI is part of the .Net Framework 1.0, 1.1 and I > > presume 2.0 as well, and this is a .Net list, then your > > argument is totally invalid. > > > > I stand by my original post... That EmptyWorkingSet is indeed > > a correct and valid way of doing this. > > > > Dino > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com