Memory leaking
Upcoming SlideShare
Loading in...5
×
 

Memory leaking

on

  • 315 views

 

Statistics

Views

Total Views
315
Views on SlideShare
315
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Memory leaking Memory leaking Presentation Transcript

  • Memory leaking http://techmaster.vn
  • NSZombieNSZombie Disabled NSZombie Enabled http://techmaster.vn
  • Enable NSZombieStep 1 Step 2 http://techmaster.vn
  • Retain, Release with CFObject• Đối với các đối tượng có kiểu CF (CFString, CFArray) thì phải giải phóng bộ nhớ thủ công trong non-ARC và ARC. CFRetain(cfobj) & CFRelease(cfobj) http://techmaster.vn
  • Low memory warning• Override hàm didReceiveMemoryWarning để giải phóng bớt bộ nhớ không sử dụng. http://techmaster.vn
  • Ask http://techmaster.vn