varantir
varantir

Reputation: 6854

GCC consumes too much Memory!! graph-tool

While Compiling graph-tool the gcc-compiler consumes more than 7 Gb of memory and after consuming more and more nothing happens anymore and I am forced to stop the compilation. I tried to embed a compiler suffix:

CFLAGS="$CFLAGS --param ggc-min-expand=0 --param ggc-min-heapsize=8192"

but I wasnt able to bring it into the ./configure procedure. Anyone knows of this issue? (It shouldn't make a difference but my OS is Archlinux-64)

Edit (1): I was able to add now the CFLAGS to configure, but it continues to consume an infinite number of memory. My Gcc Version is 4.8.2!

Edit (2): New Version of graph-tool (2.2.28) solved my problem because they fixed this memory issue!!

Upvotes: 4

Views: 1063

Answers (1)

Tiago Peixoto
Tiago Peixoto

Reputation: 5261

7 GB is too much... You should need around 4 GB with GCC 4.8. Could it be you are compiling in parallel (with make -j)?

Upvotes: 1

Related Questions