Can you just explain about memory management in iOS?



Can you just explain about memory management in iOS?..

Answer / Radhe Shyam

Memory management in iOS is handled by the automatic reference counting (ARC) system. ARC manages the lifecycle of objects, automatically releasing them when they are no longer needed to free up memory.
1. Retain Count: Each object has a retain count, which keeps track of how many other objects refer to it.
2. Autorelease Pool: When an autorelease object is created, its retain count is incremented, and it's added to the current autorelease pool.
3. Release: When an object is sent the release message, its retain count is decremented by one.
4. Retain: If another object takes a reference to the original object, its retain count is incremented.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Operating Systems AllOther Interview Questions

Can yum install rpm?

1 Answers  


How do I run wget?

1 Answers  


Can I factory reset my laptop without a recovery disc?

1 Answers  


any body tell me what are the prob's mostly we face and send some critical prob in real time environment in Solaris and veritas (VXVM,VCS)

1 Answers  


Is google an operating system?

1 Answers  


What os is used at google?

1 Answers  


What are go channels?

1 Answers  


Assume that passwords are selected from four-character combinations of 26 alphabetic characters. Assume that an adversary is able to attempt passwords at a rate of one per second. a) Assuming no feedback to the adversary until each attempt has been completed, what is the expected time to discover the correct password?

4 Answers   FCI,


How many bytes we can send to apple push notification server in iOS operating system?

1 Answers   B-Ways TecnoSoft,


How many os are there?

1 Answers  


What is the best memory for a laptop?

1 Answers  


Why is android better than ios?

1 Answers  


Categories