• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa Memory Leaks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa Memory Leaks


  • Subject: Cocoa Memory Leaks
  • From: Dominic Feira <email@hidden>
  • Date: Mon, 20 Jun 2005 19:29:29 -0400

Hello.

I am in the process of hunting down some memory leaks and seem to have come across a leak.

Here is some output from ObjectAlloc (which can't be copied from, ugh):

70 [NSTableView drawRect:]
70 [NSTableView drawRow: clipRect:]
37 [NSTextFieldCell drawWithFrame: inView:]
33 [NSActionCell setObjectValue:]

I'll spare you the complete dump. Anyway, if you follow both drawWithFrame: inView and setObjectValue: all the way down to the leaf nodes, there is a CFStringCreateCopy that is creating all of the CFString immutables. None of these seem to ever bee freed.

Is this a known issue (I'm developing on 10.3.9)? How many other leaks are there in Cocoa?

Dominic Feira / Code Monkey / Ambrosia Software, Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa Memory Leaks
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Strange NSArray problem
  • Next by Date: Re: Strange NSArray problem
  • Previous by thread: Re: Strange NSArray problem
  • Next by thread: Re: Cocoa Memory Leaks
  • Index(es):
    • Date
    • Thread