Why would igraph ask for that big amount of GBs though? When I run a code with about half the vertices and edges it works perfect. It only takes about 700MB to fill up my list of edges and vertices and once I pass it to add_edges it takes another 300 or 400MB or so. It just doesn't make sense to me.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gábor Csárdi Sent: Monday, June 22, 2015 9:04 AM To: Help for igraph users Subject: Re: [igraph] Memory error On Mon, Jun 22, 2015 at 11:00 AM, Ronquillo, Edgar Nahum <[email protected]> wrote: > It is not the computer, it only uses a little over 1 GB and it gives that > error. Yes, because it cannot allocate the rest. If it uses 1GB and igraph asks for (say) another 16GB, you'll get this error. > What I am doing is saving the edges in a list of tuples and I am saving the > weights in a list. The add_edges function takes a list of tuples which works > perfectly fine with smaller graphs. The error is raised on the add_edges > function. It is not raised when I call the get_shortest_paths function. Sorry, what I meant is actual self-contained code that gives the error, not a textual description, I cannot really run that. G. [...] _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
