I've been running into the following problem with a map service. The service works file when accessed through ArcMap, ArcCatalog and the services directory. However when I use the service in a Flex application built with the Flex Viewer The service does not draw and registers a failure in the log files. The following is what's recorded in the log file:
SEVERE Aug 16, 2012 9:26:42 AM Internal Server Error. Error handling service request: java.lang.OutOfMemoryError: Java heap space Rest
SEVERE Aug 16, 2012 9:26:42 AM Instance of service 'UpTimeData.MapServer' failed to process a request. Server
I'm running on Windows 2003 R2 8 core with 8 GB of ram (I know this should be at least 16 GB). I've tried with the data for service from both an Enterprise GDB and a file GDB with the same results.
Any hints or suggestions on how to deal with this issue.
sorry to bring up an old post,
ON 10.2.2, my javaw process is hitting 1/4 of my machine memory (8gb of 32gb) and arcgis server goes out to lunch. Only a manual restart of the arcgis server service brings it back. When this happens, only 22gb of 32gb of ram are in use, so there is plenty of room.