A little discovery of iOS about error can ' t allocate region

Source: Internet
Author: User

When debugging, it appearserror can ' t allocate region errors, and then went to search the next online post on this error, so to speak:
error Can ' t allocate region program operation error, in Xcode will issue a "SIGABRT" signal to terminate the program.

at this point you can find out if the program has been requested memory, a dead loop .
s IGABRT program itself discovers the error and calls abort to terminate the program.
It could be that the program has no memory to allocate, and the run terminates.
but!

to be solved by baffledWhat happened to this situation?!! Then I finally found out, my in the program opened nszombieenabled these several tracking memory error message, is


These open will always consume the program's memory, shut down after it is OK, the program will not quit. So everyone in the use of this tracking memory must be aware of memory errors must be closed after testing.
As for why open these several to the memory of the program has influence still do not understand, understand friend help answer under AH.

Ext.: http://www.cocoachina.com/bbs/read.php?tid=135498

A little discovery of iOS about error can ' t allocate region

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.