Detecting a memory leak?

Hi
What about unloadMe function ? I’am using director class.
I’d remove all runtime Listeners and still have memory leaks…

 unloadMe = function()  
 physics.stop()  
 Runtime:removeEventListener("enterFrame", outTheScreen)  
 Runtime:removeEventListener("enterFrame", starRotation)  
 menuItem4:removeEventListener("touch", dragItem)  
 cleanGroup(menu)  
 menu = nil  
  
 end  

Responsible Library (from Instruments) are
AudioToolBox
UIKit
QuartzCore

Any trace ?
Thank you [import]uid: 13156 topic_id: 3378 reply_id: 30773[/import]

be careful with my example though… eventually you’ll get a stack overflow…

[lua]local first, second

function first()
print(“first”)
second()
end

function second()
print(“second”)
first()
end

first()[/lua]

Runtime error stack overflow stack traceback: [C]: ? [C]: in function 'print' [import]uid: 6645 topic_id: 3378 reply_id: 30778[/import]