• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running out of VM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running out of VM


  • Subject: Re: Running out of VM
  • From: Markus Hitter <email@hidden>
  • Date: Thu, 22 Dec 2005 13:25:55 +0100


Am 22.12.2005 um 12:08 schrieb Phill Kelley:

1. Why are NSData allocations (typically on the order of 2K bytes)
crashing instead of returning nil?

Your previous description doesn't include a crash. An error message written to the console doesn't mean the app crashed.

If you're out of memory with allocating objects, an NSLog() will likely fail, since NSLog tries to allocate objects as well. A printf () or exit(5) should do better for debugging purposes.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Running out of VM
      • From: Will Mason <email@hidden>
References: 
 >Running out of VM (From: Phill Kelley <email@hidden>)

  • Prev by Date: Re: call super class method
  • Next by Date: Re: How to remove accents from characters (i.e. ñ --> n)
  • Previous by thread: Running out of VM
  • Next by thread: Re: Running out of VM
  • Index(es):
    • Date
    • Thread