Article View: be.comp.programming
Article #10770Re: new operator faalt
From: Johan Wevers
Date: Mon, 25 Feb 2002 15:30
Date: Mon, 25 Feb 2002 15:30
16 lines
1731 bytes
1731 bytes
Armin Gerritsen wrote: > Mijn vraag is dus eigenlijk waarom faalt een new-operator? Documentatie zegt > bijvoorbeeld als er niet genoeg geheugen vrij is. Maar 300MB lijkt me toch > genoeg voor 14kB? :-) > Iemand enig idee? Heap fragmentation? Alloceer eens een geheugenblok van 15kb in het begin, en geef dat vrij net voordat je de new die crasht uitvoert. Als het dan goed gaat heb je kans dat dat het probleem is. -- 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:
<3C7A5882.3B898C88@iae.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!195.115.0.4.MISMATCH!esplande3000.net!fr.clara.net!heighliner.fr.clara.net!proxad.net!newshub.bart.net!typhoon.bart.nl!not-for-mailReferences:
<a5dl0m$6cu90$1@ID-65051.news.dfncis.de>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-25 07:30:29 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!195.115.0.4.MISMATCH!esplande3000.net!fr.clara.net!heighliner.fr.clara.net!proxad.net!newshub.bart.net!typhoon.bart.nl!not-for-mail Message-ID: <3C7A5882.3B898C88@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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 Date: Mon, 25 Feb 2002 15:30:22 GMT NNTP-Posting-Host: 212.61.2.169 X-Complaints-To: abuse@vianetworks.nl X-Trace: typhoon.bart.nl 1014651022 212.61.2.169 (Mon, 25 Feb 2002 16:30:22 MET) NNTP-Posting-Date: Mon, 25 Feb 2002 16:30:22 MET