All Questions
Tagged with automatic-ref-counting dealloc
7 questions with no upvoted or accepted answers
4
votes
1
answer
533
views
Climbing CFData memory usage when using Core Image filters
I'm having a problem with too much allocated memory. My app alloc mem reaches up to 100MB!
And yes... i'm using ARC. most of memory allocated is by CFData(as i understand it is CoreImage filters). ...
1
vote
0
answers
232
views
AVCaptureSession disappears / destroyed after going to use another app, and then returning to the original app
I have a View Controller that sets up and runs an AVCaptureSession. After the user captures a photo, I do some Core Graphics processing on the image to get the image ready for saving and uploading to ...
1
vote
0
answers
542
views
Using ARC for the Cocoa UI of an AudioUnit prevents NSView dealloc from being called
I recently converted my AudioUnit plugin to take advantage of ARC for all the interface code (Cocoa). However, this resulted in the main NSView (the one created by the CocoaViewFactory and returned to ...
1
vote
1
answer
116
views
Cocoa: Finding the missing reference for deallocating
I'm almost done with and app and I'm using instruments to analyse it. I'm having a problem with ARC deallocating something, but I don't know what. I run instruments using the allocations tool ,what I'...
1
vote
0
answers
223
views
When does the UIViewController get deleted in ARC
I am Working on a ARC based project. I got two ViewControllers. In the First ViewController I have a button, on pressing that button I am pushing the new ViewController.
I am doing it as follows:
...
1
vote
1
answer
816
views
ARC dealloc called on thread other than mainthread
I've got an issue using ARC.
Every time my dealloc methode is called on a thread other than the main thread, I've got a bad access. with the message :
Tried to obtain the web lock from a thread ...
-2
votes
1
answer
430
views
Stop objects from being deallocated even when it has strong pointers to it
I have an array of employee objects. Whenever I print them using NSLog(), the array gets logged but it starts to deallocate the employee objects though I have not assigned the objects to nil.
Here is ...