Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001350graphvizNeatopublic2008-07-02 04:512011-04-28 04:03
ReporterEtienne Magro 
Assigned Togviz 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-debian 4.0 kernel 2.6.OS Version
Summary0001350: INT_MAX exceeded
Description



I have a "big" dot-file (about 50000 edges) and when I run this command :
$ neato -Tjpg graph7-52600.dot -o graph7-52600-neato.jpg &
The program stops some minutes after with a empty output file and this error :
gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
Additional Information

I know that there are very many edges, but in some weeks, I will have very bigger dot-file with about 1.000.000 edges.
So if you can fix it, it will be very helpful for me !
I think it is because my computer is a 32-bit one and I have too many nodes/edges for the int type.
Maybe (I am not sure) replacing the wrong int by long could help.
<additional_information><![CDATA[
[erg]
Sorry, the problem is not (directly) in the size of your graph but in the size of the final image being produced.
It would appear that your final image would require more than 2^32 bytes.

Graphviz relies on libgd to produce jpg output. Thus, to get around this problem, you could:

  - rebuild libgd on your machine to use 64 bit ints, then rebuild neato.

or

  - use a non-bitmap format like postscript or SVG

or

  - shrink your final drawing using the size attribute.

Try running just

  neato graph7-52600.dot > out.dot


The out.dot file will have a bb attribute indicating how large the drawing is in points.
You can then decide how much you would like to scale the drawing down, and run

  neato -n2 -T... -Gsize=...

to get the output format and size you want.


TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1384
INPUT-FILEhttp://www.graphviz.org/bugs/b1384.dot [^]
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.18
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker