M mkristain macrumors regular Original poster Aug 18, 2011 115 0 Aug 29, 2011 #1 this error comes malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region i really dont understand why it comes and how resolve this. please help me for this. thanks in advance.
this error comes malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region i really dont understand why it comes and how resolve this. please help me for this. thanks in advance.
jiminaus macrumors 65816 Dec 16, 2010 1,449 1 Sydney Aug 29, 2011 #2 Sounds like you've run out of memory. If this related to code in this post and duplicated in this post, you're creating some 51 million NSString objects!
Sounds like you've run out of memory. If this related to code in this post and duplicated in this post, you're creating some 51 million NSString objects!