Yep, it’s a memory issue. My Kat sessions ALWAYS end up like this resulting in a crash eventually. There are no workarounds I know of, but these may help:
Save often (Ctrl-S, Ctrl-S, Ctrl-S…) it will drive you crazy.
Turn off JavaDoc. There’s something wrong in there somewhere.
See also:
And you can try doing this to help @devalex88 try to find the cause(s).