johnezang/JSONKit — Issue #60: JKDictionary over releassed if inside a NSAutoreleasePool
Author: j3rm
Created: 2011-11-19 23:26:22+00:00
State: open

I am using ASIHTTP to download gzip'd data, that is then passed to JSONkit.

ASI has memory issues that can be addressed by wrapping the calls in a
NSAutoreleasePool then releasing when done. I am downloading a LARGE ( very Large) amount of data and I release the NSAutoreleasePool after every download because ASI will eat a few MB in a few calls..
The side affect of this is the JSONKit calls are also inside the NSAutoreleasePool / release code. When I release my NSAutoreleasePool I receive and error saying JKDictionary release]; was over released and the app crashes.

Any ideas how this can be addressed?
Jeremy