Memory access out of bounds

My plugin is always running into “memory access out of bounds” error, what can I do to reduce memory usage without killing features ?

Thanks.

3 Likes

Try restarting Figma. It usually fixes this error.

6 Likes

Any chance this got fixed soon? It’s frustrating to have to restart all the time.

Are you running a “widget” or a “plugin”? In my observation, calling loadFontAsync in a “widget” seems to cause this issue all the time. Curious what is your setup. It would be nice to have a minimum reproduction of this bug.

i’m running a plugin, and sometime figma messes up the order of updating React states, something further annoying :upside_down_face: