[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [igraph] How to resolve this problem: At vector.pmt:409 : cannot res

**From**: |
Tamas Nepusz |

**Subject**: |
Re: [igraph] How to resolve this problem: At vector.pmt:409 : cannot reserve space for vector, Out of memory |

**Date**: |
Fri, 18 Jun 2010 10:18:15 +0100 |

Hi,
This has recently been discussed on the mailing list; to put it simply, the
shortest path matrix of a graph with 138973 vertices woud have approximately 19
billion elements; with each element taking up 8 bytes, this would require about
143 GB of memory. You can try calculating the elements of the shortest path
matrix row by row. See this message for more details:
http://lists.nongnu.org/archive/html/igraph-help/2010-06/msg00018.html
--
Tamas
On 2010.06.18., at 10:13, shahab mokarizadeh wrote:
>* Hi,*
>* I am using R-IGraph and I load a directed graph with 138973 vertices*
>* and 733813 edges. I could load the graph with no problem.*
>* Then I invoked " shortes.path(mygraph) " where I get the following exception:*
>* Error in shortest.paths(myraph) :*
>* At vector.pmt:409 : cannot reserve space for vector, Out of memory*
>* *
>* I am using Widnows x64 with 3G RAM. I tried both Rterm.exe and*
>* Rgui.exe with following options, but it didn't make any change:*
>* --min-vsize=2G --min-nzise=19173961 (1G) or*
>* --min-visize=3G*
>* *
>* Is there anything that I am missing in memory setting or simply the*
>* graph is so large?*
>* *
>* Thanks,*
>* /Shahab Mokarizadeh*
>* PhD Student*
>* ICT School, KTH, Sweden*
>* *
>* _______________________________________________*
>* igraph-help mailing list*
>* address@hidden*
>* http://lists.nongnu.org/mailman/listinfo/igraph-help*