Re: [Dev-C++] Out of memory in function main()
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alfred P. R. <al...@ya...> - 2006-02-15 19:28:35
|
My suggestion would be to break it up into modules, individual C++ files. Maybe in the range of 1000-2000 each, or whatever works for you. If you've already done that, then maybe compile individually then link together.
I've found a few references to Fatal F1008 on the Web, none related to Dev-C++:
Windows NT, Borland C++ 5.4, 1999
Windows 95-XP, Borland C++ 5.0, 2005 Problem using += operator.
Borland C++ 5.5.1, 2002 Problem caused by 30K+ lines of code, suggests modularizing code.
"Rafael Torres Jr." <raf...@ya...> wrote:
Hello everybody,
I have a problem handling out of memory errors in C++
my program is about 13,819 lines long and it wont compile it anymore because the same error appears.
Fatal F1008 ogpeth.cpp 13578: Out of memory in function main()
***1 errors in Compile***
is there anything I can do in order to avoid this kind of memory leaks?
<snip>
Alfred P. Reaud
|