Simulator crash

I just got a crash on Playdate simulator and i dont know why.
I was playing my game and clicked pause to do something else. Sometime after that i got this error:

I checked my task manager and the simulator was using a lot of RAM.

The problem happened because of this: