Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Memory Leaks..!
View Single Post
Old 07-03-2009, 03:45 AM   #7 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

Hmmn. You should use [ProviderID release] or self.ProviderID = nil, but not both. Using both will probably cause the object to be released too many times. That's the opposite of the problem you're having, though.

I do not see the leak in any of the code you posted. However, if you open the details pane in the Leaks instrument you should be able to see the stack track for the object that's being leaked. You'll see some of your methods in the stack, and you should be able to double-click the stack frame to find the exact line where the object is being created. Know which object it is may help you find where it leaks.

PS does the leak happen right after you load the data, or after you make changes to the data in memory?
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,560
Threads: 89,129
Posts: 380,270
Top Poster: BrianSlick (7,105)
Welcome to our newest member, jane
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:36 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.