Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-22-2008, 01:32 AM   #7 (permalink)
mpramodjain
Mobile Application Dev.
 
Join Date: Oct 2008
Location: Bangalore, india
Posts: 252
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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,350
Threads: 39,141
Posts: 171,606
Top Poster: smasher (2,577)
Welcome to our newest member, 17make
Powered by vBadvanced CMPS v3.1.0

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