igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Memory error


From: Ronquillo, Edgar Nahum
Subject: Re: [igraph] Memory error
Date: Mon, 22 Jun 2015 15:10:34 +0000

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: address@hidden [mailto:address@hidden 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 <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]