It's interesting that the CPU seems to get very quiet after a few minutes ... I'm guessing that it ran out of memory and didn't report the problem gracefully.
Note that the Prefuse algorithm is n^3 ... meaning that it may not finish in a reasonable time when run on a very large number of nodes.
Have you considered running a Grid or Circular layout, just as a test?
Also, for very large networks, it's often unhelpful to do a layout, as most/all layouts produce hairballs at this scale. Have you considered using filters to either exclude unneeded nodes/edges or to select only needed nodes/edges? This will reduce the network to something that may contain useful information after layout.
Also, as a sanity check ... does your PC actually have 32GB RAM?? ... or are you depending on swapping??
FYI, I was able to load this network in 4.5GB RAM and use 77% of that. Also, once that was loaded, I started a Circular layout ... that was 90 minutes ago, and it's still going. I also see CPU utilization down in the 5% range ... no appreciable disk swapping. I'm going to let this go overnight to see whether it finishes.I'll continue this thread in the morning ...
Hi, George …
Still running … and not making any progress … and not swapping or using CPU.
OK … we definitely have a problem, especially considering that there’s more than enough RAM to hold this network. I’ll look further.
Thanks!
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.
Hi, George …
I haven’t forgotten this … in fact, I have been playing with it so I could characterize it … so far, I can see that the Circle layout causes a hard hang, too.
I have also verified that a smaller version (manually edited using a text editor) does not cause a hang. So this seems to be size related. To double-check, I’ll manually edit it into a SIF file to see if we get the same result.
You’re quite right that there’s something very rotten in Cytoscape-land.
Continuing on …
From: cytoscape...@googlegroups.com [mailto:cytoscape...@googlegroups.com] On Behalf Of George Furbish
Sent: Thursday, November 17, 2016 3:51 PM
To: cytoscape-helpdesk
--
Hi, George –
There are a few things going on here.
First, the layout base class (on which multiple layouts rely) is calling itself recursively as it traverses various paths through the network. There is apparently a very long path in this network, and a stack overflow is occurring.
Second, the stack overflow isn’t being caught and reported properly … and so the progress dialog is never dismissed.
This is pretty good news, when you think of it … considering this happens after only a few minutes, there’s a pretty good chance that when this is fixed, your layout won’t take forever.
As a workaround for now: Would you know off hand where the long path is?? If so, is it feasible to break the path??
From: cytoscape...@googlegroups.com [mailto:cytoscape...@googlegroups.com] On Behalf Of George Furbish
Sent: Thursday, November 17, 2016 3:51 PM
To: cytoscape-helpdesk
--
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.
To post to this group, send email to cytoscape-helpdesk@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.
To post to this group, send email to cytoscape-helpdesk@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Is this an issue that will be addressed in an upcoming patch? If so, will the update expand the stack or just stop silencing the exception when it overflows? That is, will I be able to use this layout eventually (or even in the near future) for this or similar networks?
-George