One of the main reasons that all we know is that Android may need some memory resources or battery saving and decide to do this. BUT what I want to know is:
is there anything else, like time limit, which may make Android kill your process? or anything else?
Is there anything else like time limit which may make android kill your process? or anything else?
It's meaningless for the system to kill a process recently important to user by a reason other than reclaiming system resources.
But long running processes (~ 30 minutes which may vary with OS versions) may either
P.S. As to your assumption, for a device without "lack of resource or anything", you may (or may not!) observe the task clearing after not visiting the app for ~30 minutes.