GraphStream Users

Archives de la liste Aide

Re: Erreur

Chronologique Discussions 
  • From: Stefan Balev <stefan.balev AT>
  • To: graphstream-users AT, kammoun3bderrahmen AT
  • Subject: Re: Erreur
  • Date: Sun, 29 Apr 2012 14:35:37 +0200


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

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,


Le 29 avril 2012 14:18,
<kammoun3bderrahmen AT>
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.

Top of page