Article View: borland.public.cppbuilder.nativeapi
Article #13370Re: SetProcessWorkingSetSize
From: Andrue Cope
Date: Tue, 14 Oct 2003 08:38
Date: Tue, 14 Oct 2003 08:38
18 lines
1507 bytes
1507 bytes
Chris Buys wrote: > Unfortunately the work the DLL does eats up memory like there's no > tomorrow. In the Win2000 TaskManager the memory usage for that > process keeps going up and after 30 min to 1 hour Win2000 runs out of > page memory and throws an error. All that SetProcessWorkingSetSize does is adjust the RAM allocated to a process. It doesn't affect the amount of storage the process consumes. If you reduce the working set size you will be doing two things: * Forcing more of the process to be swapped to disk causing a general slowdown in machine performance. * Interfering with Windows' ability to manage RAM. -- Andrue Cope [Bicester, UK]
Technical Details
Message-ID:
<3f8bb5f7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f8ac433@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,656eae8ed23df311 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-14 01:40:01 PST From: "Andrue Cope" <no.spam@spammy.com> Subject: Re: SetProcessWorkingSetSize Newsgroups: borland.public.cppbuilder.nativeapi References: <3f8ac433@newsgroups.borland.com> Organization: Vogon International User-Agent: XanaNews/1.15.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <3f8bb5f7$1@newsgroups.borland.com> Date: 14 Oct 2003 01:38:15 -0700 X-Trace: newsgroups.borland.com 1066120695 217.207.223.34 (14 Oct 2003 01:38:15 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail