[Bug 243442] Re: dot runs forever consuming all available memory

2008-06-27 Thread Tristan Schmelcher
** Attachment added: kprof-output-graph.dot http://launchpadlibrarian.net/15639102/kprof-output-graph.dot ** Description changed: Binary package hint: graphviz I have a Dell XPS M1710 laptop running pure up-to-date Hardy. I tried to use dot from graphviz to visualize a graph

Re: [Bug 243442] Re: dot runs forever consuming all available memory

2008-06-27 Thread John Ellson
Tristan, Basically the graph is too large for bitmap outputs. We've added some checks recently, so I get: $ dot -Tpng kprof-output-graph.dot out.png dot: width (70400 = 32768) is too large. Segmentation fault (Mmm, we should exit cleanly after reporting the problem. I'll fix

Re: [Bug 243442] Re: dot runs forever consuming all available memory

2008-06-27 Thread John Ellson
Tristan, I've put in a change into our CVS so that, in the case of graphs larger than the maximum bitmaps, it will warn and scale the rendering down to fit, instead of (trying to) error out. Your graph now produces: $ dot -Tpng kprof-output-graph.dot out.png dot: graph is too large