Solving: Error: Unable to load network

32 views
Skip to first unread message

michael.boelling

unread,
Jan 29, 2008, 6:58:15 AM1/29/08
to cytoscape-discuss
I had problems importing a network files into cytoscape. (File,
Import, Network (multiple file types))
The problem was resolved by increasing the memory for java by using
java -Xmx1024M -jar cytoscape.jar -p plugins

To help others finding the solution I add the error messages and
solution here.

I tried to import a psi datafile from thebiogrid.org
(http://www.thebiogrid.org/downloadfile.php?type=current&file=3, filel
BIOGRID-ORGANISM-Saccharomyces_cerevisiae-2.0.36.psi.xml)

I got an error message:
Error: Unable to load network
Root Cause: java.io.IOException: Java heap space
cytoscape.Cytoscape.createNetwork(Cytoscape.java:1312)
cytoscape.actions.LoadNetworkTask.run(LoadNetworkTask.java:165)
cytoscape.task.util.TaskWrapper.run(TaskManager.java:160)

On http://cytoscape.org/cgi-bin/moin.cgi/How%20to%20increase%20memory%20for%20Cytoscape
I found how to increase the memory and used the following setting to
start cytoscape.
java -Xmx1024M -jar cytoscape.jar -p plugins

Now I was able to import the file.

Hope this can help other users.

Michael Bölling

PS: I still can not import BIOGRID-ORGANISM-
Caenorhabditis_elegans-2.0.36.psi.xml, so maybe that need even more
memory.
Reply all
Reply to author
Forward
0 new messages