PDA

View Full Version : Crash on : malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't all




mkristain
Aug 29, 2011, 06:20 AM
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
Aug 29, 2011, 06:55 AM
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!