tags:

views:

71

answers:

2

I have implemented pdf reader application in which i have load one controller in UIScrollvew and implemented pagging functionality.Its working fine.But after 28 pagging show memory warning level 1.I dont know where is the memory leak.Please help me solve this problem. Thanks in advance.

A: 

A memory warning level 1 don't implies that your application is running out of memory. It's often related to background apps (Mail or Media player, for instance). Anyway, level 1 isn't critical (level 2 & 3 are). Perhaps this question will help you?

William Briand
A: 

If your app releases memory in response to a memory warning, then it's fine. Memory warnings are pretty normal if you're doing any caching of large objects.

If scrolling some more causes your app to get killed, then you have a problem.

tc.
yes i have add webview in scrollview up to 200 times for implementing paging.But its working fine up to 30 pages after that i have got memory warning level2 then it crash.please advice me for this question.thanks
JohnWhite
Remove the old webviews when they go off-screen.
tc.