Massive Drawing Lag in v1.3-beta3

Thanks @Shane_Neville for the info, I’ll take a look to the selection tools in case they have some kind of memory leak.

1 Like

ur so right. it really doesnt matter with which u work with,mouse or tablet because in some period i ve used both, so lag started same for both but not after 10minutes after i start aseprite as some people mentions it but after some long work, with much layers and so on it starts lagging as hell, specially exporting and saving project file is horrible, even i have 32g ram

Hello, I have been noticing this issue recently too, I think the one I experience is the same as the one described here.

As mentioned by others, the lag happens when you move the cursor over the canvas with the pen tool selected - but the lag seems much more serious the more zoomed-out you are, and it is also more severe if you are drawing, though it still happens if you wiggle the mouse without drawing anything.

This has been happening to me when I stream to twitch while drawing, but it lingers after I end the stream. I dont notice any issue initially, but after about one hour of work, the lag begins. It is not just aseprite slowing down, the whole machine does - it affects my stream as well. OBS’s stats display show FPS dropping from 60 to 30-40 during a lag spike, and the “average time to render frame” value goes up to 10-20 ms.

Removing the brush preview doesnt seem to affect the lag at all. Idk, I thought it might - when you just move the cursor around, what else happens other than updating that cursor? well apparently something does!

Once the lag has set in, it seems like only a full reboot of the computer will return aseprite to running normally - closing both aseprite and OBS doesnt “reset” it, and aseprite continues to lag once re-opened.

I just fixed it for me - it turns out the solution really was to change the cursor - but it was not the brush preview that was the problem, it was the cursor crosshair. “Crosshair on sprite” seems to be the culprit. No idea why, it just seems to be a smaller cursor image? Is it being rendered in some weird way? Changing that to “simple cursor” seems to do away with the lag entirely, immediate change.

1 Like

@FrancisCoulombe could you please tell us what version of Aseprite and what operating system are you using?

just want to add i have also been experiencing this. i am using a kamvas display and after about 20 minutes of drawing everything starts to slow down. i have to save all open files, quit and restart aseprite to continue using the software. i’m on a mac 11.6.2 aseprite v 1.3beta7

Just wanna throw my hat in real quick and say I’ve been having the same gradual pen lag as well, and when I turned off the “Crosshair on sprite” like @FrancisCoulombe suggested, the lag was immediately gone!
I’ve since sat with Aseprite idling for a good 15 or so minutes, and the lag hasn’t come back.

I’m using Windows 10 with a Wacom 13hd tablet, no other art applications have this lagging issue for me.

Hello,

Just to inform you dacap that I tried this ‘simple crosshair’ cursor solution: It seems that it helps a little bit but it doesn’t solve the problem. When I use Aseprite long enough (several hours) then the memory consumption has grown from 50MB to 1GB and the program starts to lag. I hope that you have time to investigate this memory leak.

Aseprite version: v1.3-beta14-x64
OS: macOS Big Sur 11.2.3

1 Like

I’ll try to take a look to this issue, as it seems like it is a recurrent problem as only reproducible after using Aseprite for some hours.

1 Like