mach_vm_map 失败(错误代码=3) [英] mach_vm_map failed (error code=3)

查看:13
本文介绍了mach_vm_map 失败(错误代码=3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

浏览我的 iPAD 应用程序一段时间后,我注意到应用程序的响应速度越来越慢,最后我的应用程序崩溃并出现以下错误

After navigating through my iPAD application for a while I have noticed that the responsiveness of the app is getting slower and slower and finally my app crashes with the following error

    AppName(1779,0x3d12d18c) malloc: *** mach_vm_map(size=167936) failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    Jan  7 11:34:30  AppName[1779] <Error>:   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
    Jan  7 11:34:30  AppName[1779] <Error>:   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x0012b>
    Jan  7 11:34:30  AppName[1779] <Error>:   at AppName.Application.Main (string[]) <0x0002f>
    Jan  7 11:34:30  AppName[1779] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>

这是内存相关问题吗?

推荐答案

是的,这是一个内存问题:您的内存不足.

Yes, this is a memory issue: you ran out of memory.

我建议您使用 Instruments 来尝试跟踪减少任何内存泄漏.

I suggest you use Instruments to try to track down any memory leaks.

这篇关于mach_vm_map 失败(错误代码=3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆