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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-17-2008, 06:34 AM   #1 (permalink)
Mobile Application Dev.
 
Join Date: Oct 2008
Location: Bangalore, india
Posts: 362
Question Memory Leaks NSUrl /XmlParser.

Hi, Do anyone had the solution for the memory leaks getting in the NSURLCONNECTION and NSXMLPARSER. I am getting the memory leaks when nsurl used with Cache ignoring policy and Using NSXMLPARSER also leaks some much memory. PLEASE DO HELP ME IN THIS ISSUE...:

tHANk U.

Hi,

The problem with xmlparser was solved. The memory leak was with other alloc variable , but the leak instrument was pointing to the parser variable, So I was little bit much confused.

One more issue I found with NSURLConnection was, when I am using local server protocol for ignoring cache, I am getting memory leaks.
Where when I am using the Live server , for NSURLConnection, memory leaks are mostly occuring frequently , pointing to NSURLConnection and Recieved Data of connection delegate.

Do anyone had these issues faced. If so please reply with solution or any support.

Last edited by mpramodjain; 11-22-2008 at 02:00 AM. Reason: Xml Parser problem solved. Actual memory leak was with other allocation in xml delegates.
mpramodjain is offline   Reply With Quote
Old 12-20-2008, 04:45 AM   #2 (permalink)
Mobile Application Dev.
 
Join Date: Oct 2008
Location: Bangalore, india
Posts: 362
Default

Quote:
Originally Posted by mpramodjain View Post
Hi, Do anyone had the solution for the memory leaks getting in the NSURLCONNECTION and NSXMLPARSER. I am getting the memory leaks when nsurl used with Cache ignoring policy and Using NSXMLPARSER also leaks some much memory. PLEASE DO HELP ME IN THIS ISSUE...:

tHANk U.

Hi,

The problem with xmlparser was solved. The memory leak was with other alloc variable , but the leak instrument was pointing to the parser variable, So I was little bit much confused.

One more issue I found with NSURLConnection was, when I am using local server protocol for ignoring cache, I am getting memory leaks.
Where when I am using the Live server , for NSURLConnection, memory leaks are mostly occuring frequently , pointing to NSURLConnection and Recieved Data of connection delegate.

Do anyone had these issues faced. If so please reply with solution or any support.
Hi ,
Any body there ,who had solution for the above quote..please help..
mpramodjain is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 239
16 members and 223 guests
@sandris, ADY, Alsahir, dacapo, Dani77, djohnson, HemiMG, jansan, JasonR, MarkC, mer10, prchn4christ, ryandb2, timle8n1, tomtom100
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:01 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0