积极答复者
out of memory exception

问题
-
Hi All, I am using a web service to download photo and show photo .Client used is Windows Mobile 6.I use httpwebrequest to get filestream and save that in Client .Now, I download photo almost 100kb and above that succesed but when i use Bitmap to read the photo in my client, it throws an out of memory exception on the client(device). Is this because of virtual memory limitation for windows 6.x? Is there any workaround by which I can process 15,000 or more than that amount of data.
无个性不签名
答案
-
- 已标记为答案 Jesse JiangModerator 2011年2月23日 9:11
全部回复
-
您好,
引发内存不足的错误,一方面是您的应用软件处理图片的时候,占用过多的内存,另一方面,也可能是您的设备内存空间较少。您可以在模拟器上试一试,或者您注意一下您的应用程序是否存在内存泄露。
致礼
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
-
- 已标记为答案 Jesse JiangModerator 2011年2月23日 9:11