none
System.OutOfMemoryException was thrown RRS feed

  • Question

  • I try to use HttpWebRequest to upload local files to server, but it failed with System.OutOfMemoryException,  could you help me figure out what's happened?

    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
       at System.String.ToCharArray()
       at System.Text.Encoding.GetBytes(String s)
       at System.Net.HostHeaderString.Convert()
       at System.Net.HttpWebRequest.UpdateHeaders()
       at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
       at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
       at Niisten.Analytics.TransferChannel.AnalyticsHttpTransfer.†††
    ††††“™(Object , Object , Object )
       at Niisten.Analytics.TransferChannel.AnalyticsHttpTransfer.UploadFile(String[] files)
       at Niisten.Analytics.TransferChannel.AnalyticsTransfer.†††
    ††††“Œ(Object , Object )
       at Niisten.Analytics.TransferChannel.AnalyticsTransfer.StartUploadingAllSqmData(Uri uri)
       at Niisten.Analytics.AnalyticsWriterImpl.†††
    ††††ž(Object , Object )
       at Niisten.Analytics.AnalyticsWriterImpl.StartUploadingAllSqmData(SqmUploadCallback callback)

    Tuesday, November 6, 2012 1:59 AM

Answers

All replies