PDA

View Full Version : How to solve this cc1plus: out of memory problem?



triperzonak
18th September 2008, 08:14
I have encounter this problem after compiling my project..


cc1plus: out of memory allocating 22703868 bytes after a total of 47382528 bytes
compiling customerentryclass.cpp (g++)
gmake[1]: *** [initMethod.o] Error 1


if i build it in another PC which is lower specs than mine it builds, but on my pc its not..

how to solve this problem?:confused:

aamer4yu
18th September 2008, 08:36
make sure ur problem doesnt have memory leaks.

jacek
28th September 2008, 20:20
For which file you get that error? Is it by change the one with resources?