Questions tagged [abandoned-memory]

Part of memory which is not used by the application but has a valid reference to it. A valid pointer to that memory will be there but the memory itself wont be used anymore.

About

Abandoned memory is any part of memory which is not used by the application but has a valid reference to it. A valid pointer to that memory will be there, but the memory itself won't be used anymore.

Additional resources

What's the difference between abandoned memory and a memory leak?

13 questions
13
votes
3 answers

What's the difference between abandoned memory and a memory leak?

Both are exactly the same thing, except that "abandoned memory" refers to a whole object graph leaked rather than just a single object. Right?
openfrog
  • 40,201
  • 65
  • 225
  • 373
3
votes
1 answer

UISplitViewController: Abandoned memory until another VC is pushed into the navigation stack?

I've been memory profiling an app I am working on and noticed that the detail view controller in my application is 'abandoned' (still resident in memory, but a valid reference still exists) until a new view controller is pushed onto the navigation…
Wayne Hartman
  • 18,369
  • 7
  • 84
  • 116
3
votes
1 answer

iOS Abandoned memory VM: Image IO

I have a such kind of problem. I`m developing an iPad application which actually uses a lot of images and core animation stuff. I have no leaks but I have abandoned memory issue. I have a steady memory growth. I have disabled animations that …
2
votes
2 answers

UIViewController is correctly dealloced but its UIView is not?

I was using Apple's Instruments "Allocations" tool and noticed that when I went back and forth between two views, the allocation always grows. Investigating, I found that all of the memory is from objects that are subviews of my UIViewController's…
2
votes
3 answers

ios - Heap growth with ARC on

Discovered a heap growth every time running one method that updates data and UI. Here is what I see in Inspector: There is a huge heap growth about 1MB every time I run the method. After several calls app crashes. Going down by the callstack found…
2
votes
3 answers

How to clear abandoned memory that doesn't point to own code?

It seems that my app is abandoning memory since the persistent memory of recorded heapshots don't fall to zero and the heap continue to grow when the same set of operations are continuously repeated: To find out the problems, many people suggest…
thanhbinh84
  • 17,876
  • 6
  • 62
  • 69
2
votes
1 answer

Abandoned memory after Modal segue with StoryBoard and ARC

I have a problem with growing memory using StoryBoard. I use modal segues to get to the next or prev. Viewcontroller. Sample UIStoryBoard When i run Instruments i can see the Viewcontrollers never gets out of the memory. So they are added and added…
1
vote
4 answers

Abandoned memory issue

Could you help me out please, my app is almost finished, I'm now in the process of optimizing it so I'm using the Instrument Allocations tools and I have a problem vith a view controller but I can't figure out why memory increases each time I go…
Miky Mike
  • 341
  • 6
  • 17
0
votes
0 answers

Memory Abandonment mainly due to VM: CoreAnimation

I am making an app that has a lot of animations and nested animations. self.countDownAnimationImage = [[UIImageView alloc]initWithImage:[UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"3" ofType:@"png"]]]; …
0
votes
0 answers

Objective C Abandoned Memory

I have a question about abandoned memory using View Controllers. I have a Navigation Bar button that presents another Navigation Controller. Everything works well, but when I run an a Generation Analysis, there seems to be abandon memory related…
0
votes
0 answers

App crashes of abandoned memory

I am encountering an memory problem. It sounds like I have what is known as abandoned memory and/or a reference cycle. I am trying to clear this problem for about 2 month and cannot get out of this long tunnel. I have used apple's interments to…
interdatega
  • 153
  • 6
0
votes
2 answers

abandoned memory

in my code : ABNewPersonViewController *c = [[ABNewPersonViewController alloc] init]; [c setNewPersonViewDelegate:self]; [c setDisplayedPerson:newPerson]; CFRelease(newPerson); UINavigationController *nc =…
0
votes
2 answers

IS this causing Abandoned memory?

I'm looking at heap shots in memory. This function seems to be a culprit for abandoned memory. It'S part of view building code for one of my view , 'MyView'. If I create and destroy 'MyView' 100 times with this function commented memory size always…
dubbeat
  • 7,706
  • 18
  • 70
  • 122