in reply to problem using GD::Graph::Histogram

Are you sure you have enough RAM for 4000000x6000000 pixels image? ;)