Hello, from the documentation of Krita:
If Krita hits the limit of both the memory limit above, and this Swap File limit, it can’t do anything anymore (and will freeze).
(“Memory above” = memory limit).
See Krita - Settings - Configure Krita - Performance, can you set those limits somewhat higher perhaps?