|Anonymous | Login||2017-11-21 01:23 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001833||graphviz||Circo||public||2010-03-09 00:06||2011-04-28 04:03|
|Platform||OS||x86-Linux-Ubuntu Karmic||OS Version|
|Summary||0001833: circo: failure to create cairo surface: out of memory|
This looks related to bug 0001439 (http://www.graphviz.org/bugs/b1439.html [^]).
Here's how I recreate it:
$ circo -Tpng file.dot > image.png
circo: failure to create cairo surface: out of memory
'file.dot' contains 250 nodes, and 510 edges.
My machine has 4G of memory, but I circo doesn't appear to use more than a small amount of memory (as reported by ps waux | grep circo):
(Virtual, Resident, Shared) = (96056, 7688, 4132)
Some perhaps pertinent info:
$ dot -V; circo -V
dot - Graphviz version 2.20.2 (Wed Sep 16 11:12:21 UTC 2009)
circo - Graphviz version 2.20.2 (Wed Sep 16 11:12:21 UTC 2009)
$ uname -a
Linux hani 2.6.31-19-generic 0000056-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID- Ubuntu
Description- Ubuntu 9.10
The main problem is that the drawing is too large, so when you try to create a bitmap, you run out of memory.
was due to a layout problem error, which caused the large size. In your case, the layout is working correctly. Except
for a few nodes, your graph is one, large biconnected component, so all of these nodes will be placed on a circle made
large enough for the labels not to overlap. As the biconnected component is large, you get a very large circle. The drawing
is roughly 7 x 7 meters.
You can try a different layout, or make the nodes have shape=point, or use the size attribute to scale the drawing down.
|Tags||No tags attached.|
|STATUS-COMMENT||Fixed (12 Mar 2010)|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> erg|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|