|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 Slot Utility Notification Problem||-BigMac-||Mac Pro||8||Dec 8, 2011 06:29 PM|
|What's taking my active memory?||gatortpk||Mac Applications and Mac App Store||2||Jan 21, 2011 04:41 AM|
|Password problem...more like memory problem.||grapefruit84||Mac Basics and Help||7||Aug 16, 2007 02:11 AM|
|imac memory problem||monkeydo_jb||Mac Help/Tips||6||Oct 17, 2002 09:55 AM|
|OSX memory problems||mymemory||Mac Help/Tips||3||Mar 1, 2002 09:11 PM|
All times are GMT -5. The time now is 11:37 AM.