@nyquildotorg if it is killed while it's active (I mean, it's focused on the screen, even if paused), it is most likely the OOM (out of memory) killer. Remove some stuff that runs all the time, if you can.
If you're looking at other stuff when it's killed, it's still probably a memory thing, but maybe not the OOM killer, maybe just regular "cleanup" tasks shutting down stuff Android thinks isn't super important to make room for what you're currently doing.