iphone - Is there a way to force an object to free memory in Cocoa? -



iphone - Is there a way to force an object to free memory in Cocoa? -

i'm working on ios app 2 different view controllers , 3 different views. first view controller has 1 view, menu kind screen. other view controller has 2 views, both of display content heavily (videos, images, sounds, etc.). problem sec view of view controller absolutely has deallocate of it's objects, when dismissed, , it's not. there object class (a custom video player) not beingness deallocated, , that's causing app deed erratically. know not beingness deallocated because of it's objects still live in memory, so, before go through whole code (1500+ lines of code) looking objects might not free when want, there way forcefulness object free it's memory? flush or something?

as rough test, phone call dealloc on video player object, free memory. if other object still using it, app crash when object tries send message. when happens, @ stack trace gain more info hanging onto it. instruments app help here.

iphone ipad cocoa-touch memory-management

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -