Without any information about your system (which you were asked to provide in the text you deleted before posting) there's very little to go on.
The main reasons for a freeze would be 1) a hardware issue, like high temperatures or a loose connection or 2) completely exhausting available RAM.
(And before you say "but I'm literally only running 2 apps" that doesn't mean anything without more information)