Sujet : Re: Memory trashing? Virtual memory question.
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forthDate : 24. Sep 2024, 08:47:26
Autres entêtes
Organisation : novaBBS
Message-ID : <9a29546d2e2287af815f8b7c122c2be7@www.novabbs.com>
References : 1 2 3 4
User-Agent : Rocksolid Light
On Mon, 23 Sep 2024 19:10:08 +0000, mhx wrote:
On Mon, 23 Sep 2024 18:19:44 +0000, minforth wrote:
Have you tried the SetProcessWorkingSetSize function
(memoryapi.h)?
>
It sets the minimum and maximum working set sizes for the
specified process, they say...
>
Yes, but...
I was of the perhaps naive opinion that it would be sufficient
to get the actual min/max quota using
GetProcessWorkingSetSize(..)
then increase the max quotum and call
SetProcessWorkingSetSize(..)