I did try to reboot, relog, login, logout, retry, cancel, remake, etc.
I shorted also the gcc command to the basic thing, nothing seems to works.
=[
I tried a lot of thing, I’m just out of luck and out of ideas !
The worst is that my project is due in TWO weeks
and I can’t get this to compile, I’m so desesperate ! =\
By the way, it’s already compile by parts…
for every non template code, got more than a dozens of .o files.
I’m just trying to compile one cpp files.
Perhaps, I don’t know if it’s possible
to precompile all the template and link them ?!
Basically, I have a template for all basic types: int, short, long, float,
double, char*, char, all system structs, etc.
The template basically try to crash the program by trying to pass edge
arguments to a given function.
That might make it more clear why I got such a huge number of templates and
source code…
My PC is a Pentium III 128 MB of ram, 30 GB HD.
Fred.
Armin Steinhoff wrote in message <3B8219AD.344E588B@web._de>…
Hi Fred,
I have similar problems with gcc on a machine with 196MB memory.
When gcc runs out of memory I could solve that problem by loging out
(session terminates), logging in and
restarting make … curious, isn’t >
Armin
Fred wrote:
Hi everyone,
I’m using QNX 6.0 with gcc and when I compile,
it runs out of memory.
I tried to activate Virtual Memory, but it doesn’t seems to work at
all…
Is there a specific procedure to follow
in order to compile a complex program
recently ported from Linux to QNX6 via gcc ?!
It used a lot of templates something
like 70 MB of auto-generated C++ code !
No joke only hpp/cpp files !
Currently, the memory status bars goes
from 1% to 100% in 30 seconds
and then a nice “memory exhausted” message is printed.
In theory I should have 1 GB of virtual memory,
but it doesn’t seems to use any VM,
since with or without it, it does the same thing.
I really need help, so any comments or tricks
on how to compile that C++ code
is more than welcome.
I tried to upgrade to QNX6.1,
but the code doesn’t compile with that version,
missing system header files, etc.
Sincerely yours,
Fred.