virtual memory exhausted ...can not allocate memory
I am having Intel i7 processor with 4GB Ram. After issuing make command I am getting following set of messages;To resolve this problem I created an additional swap space of 2GB and then reissue the 'make' command but still got same set error messages; ----------------------------------------------------------------------------------------------------------------------------------------------------------- make all-recursive make[1]: Entering directory `/home/ncrathore/graph-tool-2.2.29.1' Making all in src make[2]: Entering directory `/home/ncrathore/graph-tool-2.2.29.1/src' Making all in graph make[3]: Entering directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph' Making all in centrality make[4]: Entering directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph/centrality' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph/centrality' Making all in clustering make[4]: Entering directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph/clustering' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph/clustering' Making all in community make[4]: Entering directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph/community' CXX graph_community_network_eavg_imp1.lo ^[[Dvirtual memory exhausted: Cannot allocate memory make[4]: *** [graph_community_network_eavg_imp1.lo] Error 1 make[4]: Leaving directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph/community' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ncrathore/graph-tool-2.2.29.1/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ncrathore/graph-tool-2.2.29.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ncrathore/graph-tool-2.2.29.1' make: *** [all] Error ----------------------------------------------------------------------------------------------------------------------------- Please somebody help me to sort out this problem -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 02/19/2014 12:22 PM, NemiRathore wrote:
I am having Intel i7 processor with 4GB Ram. After issuing make command I am getting following set of messages;To resolve this problem I created an additional swap space of 2GB and then reissue the 'make' command but still got same set error messages;
graph-tool requires large amounts of RAM to compile. With a current GCC version (4.8) on a 64-bit machine you need somewhere between 4-5 GB of _free_ ram to compile it. With the clang compiler, however, you need significantly less than this. So, if you are strapped on RAM, you are probably better off using clang than GCC. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
NemiRathore -
Tiago de Paula Peixoto