Try -Xmx4G if you have >4G RAM
Haibin
________________________________________
From: Amal Zouaq [ama...@gm...]
Sent: Friday, February 22, 2013 9:24 AM
To: jun...@li...
Subject: [Jung-support] Fwd: DijkstraShortestPath-OutOfMemory
Good day,
I am getting an OutOfMemory Exception while using JUNG's DijkstraShortestPath on a big graph (~ 7000 nodes, 9000 edges). The exception is the following:
Exception in thread "Thread-865725" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at java.util.HashSet.add(Unknown Source)
at edu.uci.ics.jung.algorithms.shortestpath.DijkstraDistance.getDistance(DijkstraDistance.java:265)
My JAVA program is started with -Xmx1500m.
Any idea what can be done?
--
Dr. Amal Zouaq
Professeure adjointe | Assistant Professor
Département de mathématiques et d'informatique|
Department of Mathematics and Computer Science
Collège militaire royal du Canada | Royal Military College of Canada
CP 17000, Succursale Forces, Kingston ON CANADA K7K 7B4
ama...@rm...<mailto:ama...@rm...>
Office | Bureau Girouard 320
Telephone | Téléphone 613-541-6000 # 6478
Fax | Télécopieur 613-541-6584
http://azouaq.athabascau.ca/
|