mach_vm_map failed (error code=3)

2019-01-15 18:05发布

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>

is this a memory related issue?

1条回答
疯言疯语
2楼-- · 2019-01-15 18:56

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

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

查看更多
登录 后发表回答