GradientCanvas icon indicating copy to clipboard operation
GradientCanvas copied to clipboard

Potential memory leak during consecutive renders

Open Cowation opened this issue 3 years ago • 1 comments

Hello, I may have found a potential memory leak when trying to call the Render function multiple times. Below is a place file that can replicate the issue. When opening up the Performance panel and monitoring the LuaHeap (PerformanceStats > Memory > PlaceMemory), it increases around 10 MB after the canvas is rerendered.

Not sure what could be causing the leak, but it's definitely enough to cause significant performance issues after just a few minutes.

Leak.rbxl

Cowation avatar Jun 08 '22 21:06 Cowation

I am also experiencing this issue. It's severe enough to make the tool unusable when doing a lot of rendering.

CinnamonLambda avatar Aug 27 '22 11:08 CinnamonLambda