|Aug 18, 2010, 09:38 AM||#1|
I have memory problem in my application. I am integrating some application in one application.
Following is my problem:
-I have one UIView named MainView.
At this time memory usage is 9.0 mb.
-now i am adding another view on it.
Memory usage increase to 13-15 mb.
- When i release that newly added view from superview. [self removefromsuperview];
Memory is 9.5 mb. it's not 9.0 mb.
- As i open more views memory increases.
I release all the objects & controls i take in that view.
Pls help me to solve this problem.
Thanks in Advance.
|Aug 18, 2010, 10:13 AM||#2|
Without the code it is impossible to help: you are most likely allocating memory and not releasing it.
Sponsor me to cycle 100Km round London in the dark
|Aug 19, 2010, 02:06 AM||#4|
I have one mainView. It contains button 1 to 5.
When I click on button 1, I write following code.
view1 *view = [[view1 alloc] initWithFrame:[UIScreen mainScreen].applicationFrame];
& in view1 i write [self removeFromSuperView]; To go back to mainView.
I release all the objects i took in view1.
At this time memory problem occurs. As I click on more buttons & add more views memory increases even i m removing it.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Memory problem of iphone 5||duchongbui||iPhone||2||Mar 24, 2014 04:09 PM|
|memory problem.||larswik||iPhone/iPad Programming||1||Feb 11, 2014 09:25 PM|
|Mini memory problem||scottyd1119||Mac mini||12||Dec 10, 2012 06:45 PM|
|Really Weird Memory Problem||Entre||Mac OS X 10.7 Lion||3||Nov 9, 2012 02:48 AM|
|Memory problem on my iMac||Kgisofftheheezy||iMac||5||Jul 30, 2012 01:36 PM|
All times are GMT -5. The time now is 02:54 PM.