Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mach_vm_map failed (error code=3)

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?

like image 754
Loukas Avatar asked Jan 07 '14 11:01

Loukas


1 Answers

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

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

like image 80
Rolf Bjarne Kvinge Avatar answered Oct 19 '22 22:10

Rolf Bjarne Kvinge