Memory Management in iPhone applications

M

Hi,

Recently, I came to an issue of memory leakage while developing an application. And that was the frustrating experience. And it taught a big lesson.

Every time I was running application on device, it was crashing the app after some memory warning.

It was the indication that my application was utilizing lot of memory.

In my code, I had allocated lot of arrays but had not released them after their use ends.

Then I realized that memory management is the most important part of the application development.

There is one more way, instead of using lot of arrays we can use an NSObject class with required properties for entities. This makes the code handy and clean. Also this will help us to avoid memory warnings.

Development of an application always needs best memory management to keep running the application smoothly.

Hope this will help you guys..

Have Happy Coding … !!!@@@

About the author

minakshi.bhosale
By minakshi.bhosale

Category