iPhone의 메모리가 Java와 유사하게 Reference 모델이긴 하나 retain count 때문에 혼돈이 생기는 경우가 있고 자신도 모르게 메모리 릭이 발생하기가 쉽다.
물론, 이 번 Snow Leopard에 있는 Xcode 3.2에서는 정적 분석을 통해서 메모리 릭 부분을 많이 잡아낼 순 있겠지만, retain count에 대한 올바른 이해는 필요한 것 같다.
아무튼 이에 관해서 Mobile Orhcard에서 iPhone Memory Management 관련 자료들을 모아둬서 여기에 링크들을 붙여 본다.
특히, Simulator에서는 잘 돌아도 실제 iPhone/iPod의 타깃에서는 실행 시 사용 메모리 양이 10MB 근처까지 올라가면 (Instrument로 확인해보면) crash가 발생하는 경우가 종종 있다.
[1] Memory Management from Wikipedia
[2] Practical Memory Management by Apple
[3] Guide to Objective C Memory Management by John Muchow
[4] Memory Management with Objective C / Cocoa / iPhone by Mehmet S. Akten
[5] iPhone Memory Management – A Brief Introduction by Mr. X
[6] Memory Management with Cocoa/WebObjects by Manu Iyengar
[7] Custom Classes PDF from the Stanford Cocoa Programming course
[8] Memory Management with Collections from the MacRumors forums
[9] NSZombieEnabled
Ref 1. 9 iPhone Memory Management Links and Resources
Related posts:
- links for 2009-09-04 coders» Blog Archive » iPhone Programming Part 2 : Objective...
Related posts brought to you by Yet Another Related Posts Plugin.

[...] This post was mentioned on Twitter by Gidae Yeo. Gidae Yeo said: [iPhone] 아이폰 메모리 관리 관련 자료들 (from Mobile Orchard) http://bit.ly/12nnmW [...]