Re: [DEV-C++] BUG: Dev-C 4.9.20 consolprogram has only access to 1MB memory.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <jar...@ig...> - 2002-05-10 06:44:31
|
On 10 May, Ioannis Vranos wrote: > >> -----Original Message----- >> From: staale [mailto:st...@le...] >> Sent: Friday, May 10, 2002 7:55 AM >> To: Ioannis Vranos; Dev-C++ Mailing List >> Subject: Re: [DEV-C++] BUG: Dev-C 4.9.20 consolprogram has >> only access to 1MB memory. >> > SNIP > > I assume you mean that your code crashes, not the IDE.There is a limit > of the stack. It has nothing to do with the compiler. Of course it has. E.g. all the mingw stuff is running nicely and I don't think gcc/g++ will run with such a small stack. Furthermore Staale only wrote a small test for locating the error. My primary failing programm (unfortunately much bigger) doesn't allocate big arrays on the stack. And why does Staale's program run under 4.0 ? Sorry for being harsh, but I have to say so. A C++ system which limits the stack to 0.001 Gb on machines which have 1-4 Gb nowadays is not uptodate. It's my feeling as well, that DevC++ 4.9.x generates 16 bits applications by default. > > Run this code to see the size of your stack: It would be better if there were a method to increase the stack size. It can't believe it's a Win2000 problem. Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik Institute of Technology, RWTH Aachen D 52056 Aachen, Germany |