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

View Single Post
Old 11-22-2008, 02:32 AM   #7 (permalink)
mpramodjain
Mobile Application Dev.
 
Join Date: Oct 2008
Location: Bangalore, india
Posts: 362
Smile #Net/Overall Allocation.

Hi,

I am using Http Connection for every 3 seconds, by invoking timer. I am getting the httpconnection well. But after running for around 5 minutes , my application getting crashed, without showing any memory leaks. In my application I just use a timer , NSURL and NSDATA. I didnt made any alloc to release. But my applicaiton getting crash.


Following is the timer class for http connection.

-(id)startConnectionTimerNSTimer*)timer{
NSURL *imageUrl=[NSURL URLWithString:@"http://www.osei.noaa.gov/IOD/OSEIiod.jpg"];
NSData *imageData=[NSData dataWithContentsOfURL:imageUrl];
return self;


}

Following are the some of observation I made of my Knowledge..
1) In Leak Instrument, the #Net/Overall allocation histogram is turning towards RED. As per the instrument user guide , I found this need to do some investigation. But I dont how can I make this clear. I am calling timer in which no allocations were done to release.


Do anyone had the solution or support Please help.
mpramodjain is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,669
Threads: 89,155
Posts: 380,383
Top Poster: BrianSlick (7,110)
Welcome to our newest member, jarrettshawn
Powered by vBadvanced CMPS v3.1.0

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