How To: Estimate the image memory limit for an ArcMap service based on the page size of layout
The image memory limit is based on the desired maximum size of an output image and its resolution. By default, the image memory limit is 4 MB, which allows output image dimensions of 1024 x 1024 pixels (that is, 1048576 pixels). Any request for an image exceeding this size will result in a "Requested Image too big and cannot be created" error.
For ArcMap services, consider the page size of the layout when determining the image memory limit.
When serving a layout with page size of height (H inches) and width (W inches) and if the desired maximum resolution is R pixels per inch, the image memory limit in pixels is given by
Image Memory Limit = H x R x W x R
Image size (MB) = Image Memory Limit x (4/1000000)
For information on how to set the image memory limit, please read ArcIMS online help on the topic "Setting site properties" or "Changing service properties."
- Example 1 - Page Size is 8.5 by 11 (inches) with a desired resolution of 96 dpi.
The Image Memory Limit = 8.5 x 96 x 11 x 96 = 861696
Image size (MB) = 861696 x (4/1000000) = 3.45 MB.
- Example 2 - Page Size is 22 by 34 (inches) with a desired resolution of 96 dpi.
The Image Memory Limit = 22 x 96 x 34 x 96 = 6893568
Image size (MB) = 6893568 x (4/1000000) = 27.60 MB.
- Example 3 - Page Size is 8.5 by 11 (inches) with a desired resolution of 300 dpi.
Image Memory Limit = 8.5 x 300 x 11 x 300 = 8415000
Image size (MB) = 8415000 x (4/1000000) = 33.66 MB.
The file size of an ArcMap Service layout request in a vector format (ai, emf, eps or pdf) is not restricted by the image memory limit.
- Requested image is too big and cannot be created
- Find the layout page size for an ArcMap service
- Calculate the image width and height attributes for a GET_LAYOUT request
- Working with the GET_LAYOUT request and ArcMap Server: a list of related articles