Re: NSCache objects not being collected under GC?

2011-08-19 Thread jonat...@mugginsoft.com
On 19 Aug 2011, at 03:26, Nick Zitzmann wrote: Short version: Have any of you ever used NSCache in a GC-enabled app? If so, then how did you get the garbage collector to collect them? Long version: I have a framework that is used in a traditional retain-release app and a different

Re: NSCache objects not being collected under GC?

2011-08-19 Thread Nick Zitzmann
On Aug 19, 2011, at 2:40 AM, jonat...@mugginsoft.com wrote: I don't use NSCache but I have used instruments to effectively debug GC memory collection problems. The described rooting behaviour of NSCache sounds peculiar to me. I just reproduced the problem in another project, so this is

NSCache objects not being collected under GC?

2011-08-18 Thread Nick Zitzmann
Short version: Have any of you ever used NSCache in a GC-enabled app? If so, then how did you get the garbage collector to collect them? Long version: I have a framework that is used in a traditional retain-release app and a different GC-enabled app. The framework creates NSCache objects for