That sounds more like it's being killed for RAM reasons rather than "crashing"
That sounds more like it's being killed for RAM reasons rather than "crashing"
I'm sure the Android one is much more aggressive, but Linux's OOM killer isn't too different is it?
Apps are meant to be started and destroyed dynamically when the user does something else, their phone is idle for a long time, battery life is low, etc. If something is in the background it's fair game to kill.
It's just an issue that plagued the last 15 years of attempts at getting Linux running in VMs/containers/etc on Android, and that's the reason it's an issue.
Developers might be able to work around the limitation by building dynamic suspending and restoring of VM state into their Linux launcher and try to make it play nice with Android.