Le 19/10/2012 09:25, Tiago de Paula Peixoto a écrit :
On 10/19/2012 09:05 AM, Guillaume Gay wrote:
Hi,
I had the same problem trying to compile graph-tool in Ubuntu. At first I tried to simply buy more memory, and went all the way up to 12 G.
Unfortunately the exhausted memory problem was still there (so this might more be some kind of a bug, no?). I then followed the advice given in jully on a similar thread: This is absolutely strange... I don't have that much memory on my laptop and I compile graph-tool just fine. I'm curious: What GCC version do you have in your ubuntu install (exact version, including ubuntu patches)? Did you try with different versions? "apt-cache show gcc" returns this on my box:
Package: gcc Priority: optional Section: devel Installed-Size: 41 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org> Architecture: i386 Source: gcc-defaults (1.112ubuntu5) Version: 4:4.6.3-1ubuntu5 Provides: c-compiler Depends: cpp (>= 4:4.6.3-1ubuntu5), gcc-4.6 (>= 4.6.3-1~) Recommends: libc6-dev | libc-dev Suggests: gcc-multilib, make, manpages-dev, autoconf, automake1.9, libtool, flex, bison, gdb, gcc-doc Conflicts: gcc-doc (<< 1:2.95.3) Filename: pool/main/g/gcc-defaults/gcc_4.6.3-1ubuntu5_i386.deb That's the basic up-to-date gcc package provided by ubuntu. I didn't try any other version. On my 4G ram laptop, with sfdp_layout disabled (brutally taken away from source, though that leads to problems later on) it manages to compile, I remeber monitoring memory an it would seat around 3 G.
Does the compilation stay below 4G if you disable sfdp_layout? If not, what maximum value does it scale to?
Although this is almost certainly a problem with a specific version of GCC, I intend to modify sfdp_layout to use less memory during compilation in any case.
Cheers, Tiago
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool