We're having random problems when downloading files using the MediaBin Webservice 4.5 SP2. When requesting some fairly large images (about 80 MB before the retrieval task and 14 MB after) I frequently receive the error below. The MediaBin server will process the request fine (the recent history shows a successful transaction without any messages) however I can't retrieve the file via my application and the stack trace reports this error. I've noticed that when I stop and start the aspnet_wp.exe process on the MediaBin Server (Windows 2000) the problem is temporally resolved. Meaning, the same images that were failing because of this error are now being processed successfully by my application. I've also noticed that the aspnet_wp.exe varies greatly in the amount of memory it consumes. Shortly after restarting the process it is uses about 40 MB and after a few requests can grow to over 600 MB. My question is do you know of any issues that can cause these memory exceptions to be thrown?
Thanks,
Donovan
E&J Gallo Winery
faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
faultString: Server unavailable, please try later --> Exception of type System.OutOfMemoryException was thrown.
faultActor:
http://mediabin/MediaBinWebService/MediaBinServer.asmx faultNode:
faultDetail:
{
http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
faultString: Server unavailable, please try later --> Exception of type System.OutOfMemoryException was thrown.
faultActor:
http://mediabin/MediaBinWebService/MediaBinServer.asmx faultNode:
faultDetail:
Server unavailable, please try later --> Exception of type System.OutOfMemoryException was thrown.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.mediabin.
www.MediaBinServerSoapStub.retrieveFile(MediaBinServerSoapStub.java:5466)
at com.ejgallo.webservice.imagerepository.connectionpool.PooledSession.retrieveFile(PooledSession.java:397)
at com.ejgallo.webservice.imagerepository.download.ArchiveProcessor.requestImage(ArchiveProcessor.java:437)
at com.ejgallo.webservice.imagerepository.download.ArchiveProcessor.run(ArchiveProcessor.java:294)
at java.lang.Thread.run(Thread.java:534)