- From: Stefan Balev <stefan.balev AT gmail.com>
- To: graphstream-users AT litislab.fr, kammoun3bderrahmen AT gmail.com
- Subject: Re: Erreur
- Date: Sun, 29 Apr 2012 14:35:37 +0200
Hello,
There are several things you can try to increase the available memory :
1. Increase the maximum heap size of JVM, for example to have 1GB of heap, use
java -Xmx1G ...
or if you use IDE such as Eclipse, select Run > Run configurations,
then click the Arguments tab and in the box "VM arguments" add
"-Xmx1G"
2. If you are using SingleGraph or MultiGraph, try using
AdjacencyListGraph. This implementation is a bit slower, but consumes
less memory.
3. Don't use a viewer, it also takes memory. Try to compute
BetweennessCentrality before displaying the graph.
Hope it helps,
--
Stefan
Le 29 avril 2012 14:18,
<kammoun3bderrahmen AT gmail.com>
a écrit :
>
Bonjour à tous,
>
>
Je travail sur un graphe de 1500 noeuds, en calculant le
>
BetweennessCentrality
>
de chaque noeud j'obtiens l'erreur suivante:
>
>
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
>
space
>
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
>
spacejava.lang.OutOfMemoryError: Java heap space
>
>
merci pour votre aide.
- Erreur, kammoun3bderrahmen, 29/04/2012
- Re: Erreur, Stefan Balev, 29/04/2012
Archives gérées par MHonArc 2.6.16.