Ooops, sorry, the API function is SetProcessWorkingSetSize.
Trevor
----- Original Message -----
From: "Trevor Jones" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 7:10 PM
Subject: Re: [DUG]: Memory usage
> Hi David,
> There is an API function (SetWorkingProcessSize) which allows you to
> programmatically shrink the virtual heap from within your program.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/