Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 31, 2009, 06:10 AM   #1
Barbus
macrumors newbie
 
Join Date: Oct 2009
cocoa bug ? - memory leak in apple example

hi all

please try:
1 create new application using multi-document template
2 do nothing, just run this new application using leak-checking instrument
3 select save-as option - save panel appears ; expand it to show file icons
4 do nothing, just wait

result : you'll see memory leak

also you'll see memory leak in apple's native example ImageApp

the question: should I ignore such leaks in multi-document application or I did something wrong?

thanks

Last edited by Barbus; Oct 31, 2009 at 06:15 AM.
Barbus is offline   0 Reply With Quote
Old Oct 31, 2009, 03:58 PM   #2
xStep
macrumors 68000
 
Join Date: Jan 2003
Location: Less lost in L.A.
If no one replies back saying you did something wrong, then please file this with Apple as a bug.
xStep is offline   0 Reply With Quote
Old Nov 1, 2009, 12:38 PM   #3
jared_kipe
macrumors 68030
 
jared_kipe's Avatar
 
Join Date: Dec 2003
Location: Seattle
Send a message via AIM to jared_kipe
Every time I launch my application, and sometimes randomly while navigating through my UITabBar I get leaks from CoreGraphics for open_handle_to_dylib_path. Since I'm not doing anything directly with CoreGraphics, and I'm not leaking any UIobjects (that would use coregraphics) I assume its apple's mistake.

I move on and hope Apple will fix it in the future. But in this case I'm only loosing 128Bytes at a time and it doesn't happen very often.
jared_kipe is offline   0 Reply With Quote
Old Nov 1, 2009, 02:40 PM   #4
Barbus
Thread Starter
macrumors newbie
 
Join Date: Oct 2009
the caller of the leak I wrote about is :
-[NSNavFBENode _calculatePreviewThumbnailImageWithMaxSize:isThumbnail:]

imho it seems like CoreGraphics problem ...
Barbus is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
will the apple id cause memory leak? beaumk MacBook Pro 1 Jan 27, 2014 10:16 PM
Apple Releases Aperture 3.4.5 with Import and Memory Card Bug Fixes MacRumors Mac Blog Discussion 50 Oct 15, 2013 10:34 AM
Strange memory problems or memory leak in OS??? OldGuyTom OS X 10.8 Mountain Lion 12 Oct 11, 2013 02:47 PM
Memory leak spilakalb iPhone/iPad Programming 5 Oct 4, 2012 08:15 AM
Memory Leak Ides iPhone/iPad Programming 3 Aug 6, 2012 12:30 PM

Forum Jump

All times are GMT -5. The time now is 03:50 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC