I've recently been developing an app that processes a large amount of data very frequently (~15 times a minute). To do so, I allocated a large chunk of memory, then freed it for each batch of data.
Here's a screen of my Memory Allocations from Instruments:
The Memory usage oscillates from about 3MB to about 30MB pretty quickly. I was just wondering, is this "healthy," per se for the iPhone.
Is it risky to allocate and free so much memory so quickly? Is it unsustainable, or just bad practice?
Thanks!