Re: Memory leak in Apple's image handling frameworks ?

2023-04-29 Thread Rob Petrovec via Cocoa-dev
This sounds like Abandoned Memory, not a leak. Abandoned memory is a retain cycle somewhere. Best/easiest way to find those is with a memgraph. Click the little sideways V icon in Xcode’s debugger when the problem is reproducing. Or run ‘leaks MyApp --outputGraph ~’ in Terminal when the

Memory leak in Apple's image handling frameworks ?

2023-04-29 Thread Gabriel Zachmann via Cocoa-dev
I have an app that is basically a slide show. Basically, it loads one image after another, displays it, then frees up its memory. When I test it with my image collection of 100k+ images, everything is fine. However, one user sent me a photo (JPG) that makes my app use up more and more memory. I