Re: Running out of VM
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