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 
PlatformOSx86-Linux-debian 4.0 kernel 2.6.OS Version
Summary0001350: INT_MAX exceeded

I have a "big" dot-file (about 50000 edges) and when I run this command :
$ neato -Tjpg -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.
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.


  - use a non-bitmap format like postscript or SVG


  - shrink your final drawing using the size attribute.

Try running just

  neato >

The 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.
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