Network Extensions: little memory leaks?

Is there a known small memory leak in the Network Extension framework?

I'm observing a small number of little leaks (16 bytes ROOT LEAKs) that increases slowly over time in a Network Extension process.

So far I have not been able to correlate these with my code.

macOS 10.15.7

Answered by tartempion in 637307022
I hadn't thought that Instruments could be used.

Finally found the origin of the issue… in my code (readonly property name was not matching the ivar name).

Thanks for the tip.

Is there a known small memory leak in the Network Extension framework?

I'm observing a small number of little leaks (16 bytes ROOT LEAKs) that increases slowly
over time in a Network Extension process.

Not that I'm aware of. Are you seeing this in the Allocations instrument? If so are you able to see the correlating backtrace on the right sidebar if you click on the object in question?


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Accepted Answer
I hadn't thought that Instruments could be used.

Finally found the origin of the issue… in my code (readonly property name was not matching the ivar name).

Thanks for the tip.
Network Extensions: little memory leaks?
 
 
Q