Re: Cant get Garbage Collection to work
Re: Cant get Garbage Collection to work
- Subject: Re: Cant get Garbage Collection to work
- From: Dominik Pich <email@hidden>
- Date: Fri, 28 Mar 2008 19:20:53 +0100
exactly my point :) there shouldn't be 'any' memory related errors.
GC seems to be OFF like my 2. 'check' showed:
>I also added this 'check' to my awakeFromNib
> if([[NSGarbageCollector defaultCollector] isEnabled])
> NSLog(@"GC on");
> else
> NSLog(@"GC off");
>and according to that GC is off..
On Mar 28, 2008, at 5:25 PM, Quincey Morris wrote:
On Mar 28, 2008, at 04:15, Dominik Pich wrote:
First then I set the GCC Flag: Garbage Collection _required_: -fobj-
gc-only
I coded my cocoa document based application as if there were GC...
no retain/release and no dealloc..
I started and bigidibam... over-releases -- guess something got
autoreleased which I ofcourse didnt retain.
Over-releases? There's no such thing with gc-only. (Except, of
course, CF objects still have retain/release counts, but if you
ignore those you end up with leaks, not "over-releases".)
What are the actual errors you're seeing? Something was logged?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden