有人看到致命的OutOfMemoryException? [英] Anyone seeing a fatal OutOfMemoryException?
问题描述
我有一位用户从我的WP7应用程序发送了以下 崩溃报告:
I've had a user send me the following crash report from my WP7 app:
OutOfMemoryException
在System.String.GetStringForStringBuilder(字符串值,Int32 startIndex,Int32长度,Int32容量)
在System.String.GetStringForStringBuilder(字符串值,Int32容量)
在System.Text.StringBuilder.GetNewString(String currentString,Int32 requiredLength)
在System.Text.StringBuilder.Append(Char值)
在Microsoft.Live.Serialization.JsonReader.ReadString(Boolean& hasLeadingSlash)
在Microsoft.Live.Serialization.JsonReader.ReadString()
在Microsoft.Live.Serialization.JsonReader.ReadName(布尔值allowQuotes)
在Microsoft.Live.Serialization.JsonReader.ReadObject()
在Microsoft.Live.Serialization.JsonReader.ReadValue()
在Microsoft.Live.Serialization.JsonReader.ReadArray()
在Microsoft.Live.Serialization.JsonReader.ReadValue()
在Microsoft.Live.Serialization.JsonReader.ReadObject()
在Microsoft.Live.Serialization.JsonReader.ReadValue()
在Microsoft.Live.Operations.ApiOperation.ParseResponse(String responseText)
在Microsoft.Live.Operations.ApiOperation.ProcessApiResponse(WebResponse回复)
在Microsoft.Live.Operations.ApiOperation.OnOperationedCompleted(WebResponse回复)
在Microsoft.Live.Operations.WebOperation.OnGetWebResponse(IAsyncResult ar)
在System.Net.Browser.ClientHttpWebRequest。<> c__DisplayClassa。< InvokeGetResponseCallback> b__8(对象state2)
at System.Threading.ThreadPool.WorkItem.WaitCallback_Context(Object state)
在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback回调,对象状态)
在System.Threading.ThreadPool.WorkItem.doWork(Object o)
在System.Threading.Timer.ring()
遗憾的是,这不包含对我的代码的任何引用,所以我很难看到问题可能出现在哪里。用户告诉我他正在我的应用程序中调用一个功能,从SkyDrive下载
图像。鉴于Live API是事件驱动的,即调用GetAsync并等待事件处理程序被触发,我完全不知道我可以做些什么来阻止我的应用程序崩溃。
有什么建议吗?我已经检查过我正在使用最新版本的Live SDK。
谢谢。
Philip
推荐答案
你知道这个图像下载的大小是多少,是否有可能得到一个fiddler跟踪?这对调试它非常有用。
Do you know how big this image being downloaded is and is it possible to get a fiddler trace? It would be tremendously helpful in debugging this.
谢谢
Simon
这篇关于有人看到致命的OutOfMemoryException?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!