Geoprocessing service works with small TIF files; fails with large TIF files

731
2
06-29-2012 06:53 AM
PeterDeCurtins
New Contributor
I've created a python script tool that simply takes a user supplied raster file as input and sets that file as an output raster value. I then share the result as a geoprocessing service, which works fine with a small (400KB) TIF image. The Output Raster is called 'gptmpraster1.tif', but the tool completes and the raster is added as a layer.

However, with a much larger TIF file (31,400KB), the tool shows that it completes in the results window, but the Output Raster value is 'gptmpraster', and there is no raster to be added. After a few minutes, an entry is added to the server log:

<Msg time="2012-06-29T08:36:48,49" type="SEVERE" code="8001" source="Server" process="6212" thread="17" methodName="" machine="GSGWIN08.RSINC.COM" user="" elapsed="">Instance of service 'Devo/Tool.GPServer' failed to process a request. </Msg>

(The folder where these files reside is on the server, shared with proper permissions, and registered with the server.)

I've run into many, many difficulties just to get it this far. The original image is ~38,000KB, and in that case the service fails completely. It doesn't even seem to start execution, as no server messages are output. I'm using 'File' as the input data type, because the service simularily won't run at all when I try to use data type 'Raster Dataset'.  What am I doing wrong? Why is this so hard?

Thank you so much for any advice, assistance, ideas, encouragement, empathy, etc. that you may be able to offer.
Tags (2)
0 Kudos
2 Replies
PeterDeCurtins
New Contributor
I was wrong about raster datatype on input causing a problem - it was just the file size issue. The gp service will work with TIF files that are up to 24MB on disk, but has failed with one that was 29MB.
0 Kudos
KevinHibma
Esri Regular Contributor
Are you using 10.1? (I ask because I think I remember the max size being different in 10.0). For 10.1, I believe you're well within the file size limits.
I'd give a read on these topics, hopefully they'll help...maybe your max size is turned down?

http://resources.arcgis.com/en/help/main/10.1/#/Large_dataset_upload_and_download_considerations/005...
http://resources.arcgis.com/en/help/main/10.1/#/Advanced_properties/0057000000m1000000/GUID-17815A98...
0 Kudos