Greetings,
I'm running Instruments looking for memory leaks in my (macOS) application. It's a data intensive app that uses a lot of asynchronous processing.
I did find some memory leaks of my own making, and have improved things significantly, but now what floats to the top of the allocataions list are _NSActivityAssertion objects ... millions of them.
It appears that one of these gets allocated every time an NSOperation object is created. My app has been running for an hour now, and there are 40,000,000+ of these objects, occupying over 3GB of memory.
Is this normal, a Cocoa bug, something I'm doing wrong, or a side effect of using the Allocations instrument?