Article View: be.comp.programming
Article #10781Re: new operator faalt
From: Johan Wevers
Date: Tue, 26 Feb 2002 08:18
Date: Tue, 26 Feb 2002 08:18
19 lines
1810 bytes
1810 bytes
Ik schreef: > Da's een taak voor het OS. Kun je dat op dat niveau ingrijpen (ik meende > dat jij iets met embedded software deed?) Oeps, net gezien dat het onder NT draait. Even overheen gelezen. Nij NT zou je ook eens kunnen proberen het geheugengebruik aan te passen met API calls. Onderstaande code verkleint het gebruikte geheugen tot datgene dat echt nodig is: HANDLE HCurrentProc; HCurrentProc = GetCurrentProcess(); SetProcessWorkingSetSize(HCurrentProc, -1 ,-1); -- ir. J.C.A. Wevers // Physics and science fiction site: johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Technical Details
Message-ID:
<3C7B448D.FA078816@iae.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!newshub.bart.net!typhoon.bart.nl!not-for-mailReferences:
<a5dl0m$6cu90$1@ID-65051.news.dfncis.de> <3C7A5882.3B898C88@iae.nl> <a5dvl8$6h8eb$1@ID-65051.news.dfncis.de> <3C7B42CB.E9BACD12@iae.nl>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,3fd870920848f7cb X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,3fd870920848f7cb X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-02-26 00:18:25 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!newshub.bart.net!typhoon.bart.nl!not-for-mail Message-ID: <3C7B448D.FA078816@iae.nl> From: Johan Wevers <johanw@iae.nl> X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: be.comp.programming,nl.comp.programmeren Subject: Re: new operator faalt References: <a5dl0m$6cu90$1@ID-65051.news.dfncis.de> <3C7A5882.3B898C88@iae.nl> <a5dvl8$6h8eb$1@ID-65051.news.dfncis.de> <3C7B42CB.E9BACD12@iae.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 Date: Tue, 26 Feb 2002 08:18:13 GMT NNTP-Posting-Host: 212.61.2.181 X-Complaints-To: abuse@vianetworks.nl X-Trace: typhoon.bart.nl 1014711493 212.61.2.181 (Tue, 26 Feb 2002 09:18:13 MET) NNTP-Posting-Date: Tue, 26 Feb 2002 09:18:13 MET