Leak detection

32 views
Skip to first unread message

Oliver Larkin

unread,
Feb 28, 2025, 5:33:16 AM2/28/25
to skia-discuss
Hi All,

Not long ago I updated my project iPlug2 to use a more recent version of Skia and jumped from chrome/m93 to m/130. 

I'm now seeing some memory leaks on windows, that I don't think were there before (not 100% sure).

https://github.com/iPlug2/iPlug2/issues/1191

I compile skia with clang-cl as per the recommendation, but usually my project that links skia is compiled with MSVC.

I wondered if anyone has any tips for working out exactly what is getting leaked here. I've used  _CrtSetDbgFlag etc on the MSVC side but when i catch a leak it seems to be inside skia.lib. Are there an GN flags that can help?

thanks

oli

Reply all
Reply to author
Forward
0 new messages