Ok, that makes a lot for sense, I'd never even heard of a .kra file... hundreds of layers, ok, that makes sense.
Wait. It that the file extension for krita projects?
... yeah so i mostly do coding, lol, art is uh... not my forte, hahah!
Anyway, damn good drawing! Painting? Artwork? Sorry, I don't know the right word.
But uh my file was only a single layer, granted, I made a working krita project out of maybe 10 ish layers of the same dimensions, all from the same dataset... it was only really bad to initially load them in... but... yeah if you try to like, complex filter lend whole other layers by other layers, sequentially... yeah, that'll chug, Deck fan kicks over to max...
But so far its never fully maxxed out memory and actually crashed.