It freezes on gif export of 5000 px and without dither. My computer is very powerful (ryzen 5950x). The freeze happens both in the browser and on the Windows application.
Yeah a gif of 5000x5000 with a multiple frames would be extremely huge, and algorithms to construct a gif are already quite slow. Gifs will only really work around sizes of 100, maybe 200 pixels or less.