Posts

Showing posts with the label memory leaks

Treehouse Intermediate Course Part 8 (Memory Management)

Continuing my run - now four days in a row, the next course looks to be about memory. There are only four videos with a quiz on the end, so I aim to complete that today. I'm also going to make a note of the time I started learning from now on - pausing it for any breaks, or making a note of these - to see how many minutes I've done. My aim of three hours per week is from Sunday to Saturday, so this is the last day to ensure I get that. Time - 12:10pm Manual Retain Release Every instance created takes up memory. For simple apps like we've done so far, there's a tiny memory footprint. However, for larger ones, the program can fail if there is too much memory to hold. MRR - the programmer was in charge of this, including reference counting. I've seen that reference counting from one of Ray's courses. Doing this manually must have been exhausting, even though it did put you in control. Automatic Reference Counting (ARC) So this only counts for class/refe...