| delorie.com/archives/browse.cgi | search |
| From: | "Bernd König" <koenig AT physik DOT uni-wuerzburg DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Virtual memory exceeded in 'new' |
| Date: | Tue, 9 Mar 1999 18:51:03 +0100 |
| Lines: | 19 |
| X-Newsreader: | Microsoft Outlook Express 4.72.2106.4 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.2106.4 |
| NNTP-Posting-Host: | wpfd16.physik.uni-wuerzburg.de |
| Message-ID: | <36e55f30.0@uni-wuerzburg.de> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi, i found a problem with the ostrstream class. Somewhere in my program i create and remove an ostrstream object many times (i.e. endless). It looks like this: ... ostrstream wandler; wandler << 10.0 << ends; ... when running the program the system begins to swap until the error message: Virtual memory exceeded in 'new'. It only happens if the command ' wandler << 10.0 << ends; ' is included. Is it a bug in the c++ library of djgpp? I'm thankful for your help. B. Koenig
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |