Total Size of NSMutableArray object

To get the number of objects in the array, use

[temp count]

If you want the total memory usage of the array, you’ll have to loop through and add up how much memory each object uses, but I don’t think that a generic object will give you its size. In general, you shouldn’t really have to worry about memory usage, though.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)