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

Discussion in 'Mac Programming' started by mkristain, Aug 29, 2011.

Thread Status:
Not open for further replies.
  1. mkristain macrumors regular

    Joined:
    Aug 18, 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.
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #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!
     
Thread Status:
Not open for further replies.

Share This Page