objective c - iPhone memory management -


i have been using instruments check leaks , other memory issues in program. though leaks found instruments extremely small , don't matter, have found physical memory free keeps going down while use program.

i use memory monitor determine how memory app using , allocations determine happening. make sure release every time alloc or retain, , seeing how there barely leaks, i'm assuming memory management fine.

does know can fix issue or reccomend way bottom of it?

even tho release objects dont need, doesn't matter. allocating things , keeping them reason. can try check out:

http://macdevelopertips.com/objective-c/objective-c-memory-management.html

http://akosma.com/2009/01/28/10-iphone-memory-management-tips/

i advise check alloc , keep life of application , see if can make same thing without using memory.

edit: have agree mark , kongress, every leak matters sake of app's life.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -