canvaskit-wasm memory leak only in Safari

35 views
Skip to first unread message

Alan Song

unread,
Feb 20, 2024, 8:01:35 AMFeb 20
to skia-discuss
Chrome works just fine sitting at ~95MB memory usage.
Not sure what went wrong in Safari, drawing the same paragraph over and over again causes the memory usage to skyrocket and eventually crash the page.

memleak.gif


Heather Miller

unread,
Feb 20, 2024, 9:12:59 AMFeb 20
to skia-d...@googlegroups.com
Please file a bug with this information so we can track investigation/resolution. Thanks!

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/b31df216-95e9-4141-beea-2436ccf9858cn%40googlegroups.com.

Brian Salomon

unread,
Feb 20, 2024, 9:17:09 AMFeb 20
to skia-d...@googlegroups.com
Can you try building Skia at or after change 72c75dd15469333a0fb011fcd6a34f2434aa8c7d?  That fixed an issue where Safari would allocate and retain a lot of GPU buffers particularly when Skia draws text.

Alan Song

unread,
Feb 20, 2024, 7:10:27 PMFeb 20
to skia-discuss
Tried building from 72c75dd15469333a0fb011fcd6a34f2434aa8c7d. It works fine in Safari without memory leaks. Thank you very much! Looking forward to a new release!
Reply all
Reply to author
Forward
0 new messages