• 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
Re: memory leaks, many of them
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory leaks, many of them


  • Subject: Re: memory leaks, many of them
  • From: Matt Jaffa <email@hidden>
  • Date: Mon, 5 Apr 2004 22:07:08 -0600

NM I seem to have gotten all my memory leaks solved except for
my NSImageCells within mt NSTableView,

how would I go about releasing them,

I though this would do it:

return [[[NSImage alloc] initWithContentsOfFile: [the_row
stringForColumnAtIndex:0]] autorelease];

But that is not releasing them when the app quits.

Matt


On Apr 5, 2004, at 9:01 PM, Matt Jaffa wrote:

> And now when I release some things I noticed were not being released,
> the memory leak count went up.
>
>
> On Apr 5, 2004, at 8:46 PM, Matt Jaffa wrote:
>
>> Hi,
>>
>> When i use the command line
>>
>> leaks tool,
>>
>> it gives me these results:
>>
>> Process 1464: 71363 nodes malloced for 4068 KB
>> Process 1464: 12663 leaks for 367344 total leaked bytes.
>>
>> That is definitely bad right???
>>
>> I can't see where in my program that memory would be leaking so much,
>>
>> My app uses the sqlite database library a lot.
>> Could that be the cause of it,
>> Well I am using a SQLDatabase wrapper that i found off of someone's
>> demo,
>> that could be the cause also.
>>
>> How do I got about fixing this, no where in my program have i used
>> init with any class,
>> so it must be coming from the sqlite.
>>
>> Matt
>> _______________________________________________
>> cocoa-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >memory leaks, many of them (From: Matt Jaffa <email@hidden>)
 >Re: memory leaks, many of them (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: memory leaks, many of them
  • Next by Date: Re: NSQuickDrawView opacity troubles (solved)
  • Previous by thread: Re: memory leaks, many of them
  • Next by thread: Localized nib will only load english
  • Index(es):
    • Date
    • Thread