views:

28

answers:

0

I've got a program, which loads the albums artwork in NSOperationQueue and it works like a charm.

Memory usage stays under 800 KB, but the overall allocated (and released of course) memory is about 50 MB.

My problem is memory rans out and the iPod player is killed by the OS. I've got a memory warning, but I don't have anything to release.

I examined the program with the instruments, and I've got this picture.

I suppose I use my stack, and the OS can't detect that I've released it, since I've allocated some bytes at the end of the stack.

What should I do to make this work?