Monday, December 14, 2009

ullrich: Optimize your Autorelease pools

Optimize your Autorelease pools with the following environment variables

NSAutoreleaseHighWaterMark
Default: 0
If set to X, autorelease pools will print a message if more than X objects accumulate in the pool

NSAutoreleaseHighWaterResolution
Default: 0
If set to Y, a message is logged for every Y objects that accumulate in the pool beyond the high-water mark (X)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.