Re: Cant get Garbage Collection to work
Re: Cant get Garbage Collection to work
- Subject: Re: Cant get Garbage Collection to work
- From: Robert Douglas <email@hidden>
- Date: Fri, 28 Mar 2008 11:42:46 -0700
Where do you have GC enabled? My experience has been that you have to
set it for each target as the project-level setting gets overridden.
On 28-Mar-08, at 11:20 AM, Dominik Pich wrote:
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
_______________________________________________
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