You can also use WinDirStat to find out which files are large.
Just one explanation that comes to mind: perhaps due to a bug, GIMP tried to reserve a great amount of memory, which caused the pagefile to enlarge dynamically? Then gimp finally crashed. Would be weird, though, why Windows wouldn’t shrink the pagefile back after the reservations have been freed…