gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

App stuck when opening large files like pnpm-lock.yml

Open ojpro opened this issue 1 year ago • 2 comments

For me this caused a crash. The WebKitWebProcess process ate all the remaining memory until my system was exhausted and all apps crashed

nbrugger-tgm avatar Feb 14 '24 11:02 nbrugger-tgm

Same issue here, it get's unusably slow, perhaps it should only render till the edge of the window and not all at once

Timeraa avatar Feb 23 '24 09:02 Timeraa

fixed in release 0.10.17

krlvi avatar Mar 05 '24 10:03 krlvi

Actually, before closing this, @ojpro, would you be able to test a recent version of the app? I mitigated this by not automatically rendering these files on click. There are some optimizations that we can do in the actual rendering, but I would like to track it in a separate ticket

krlvi avatar Mar 05 '24 10:03 krlvi

image image

Seems to be fixed (First image is full file change, second is just small part)

Tested on 0.10.21

Timeraa avatar Mar 05 '24 10:03 Timeraa

Good to know, in this case I am closing this issue. Feel free to open a new issue if you hit another performance issue

krlvi avatar Mar 08 '24 10:03 krlvi