cpu usage - Why do Android applications get silently killed when the CPU is near 100%, and how can I avoid this? -


i'm doing heavy number crunching in app, loops forever (occasionally outputting results) , consuming 25% 30% of cpu. works fine.

however, run several copies of app @ same time.

if run 4 copies, works fine, processor used below 100%

however, start 5th copy, 1 of old copies silently killed os. app doesn't receive pause, stop or destroy signals.

what expect happen, same running them on pc. example, application alone outputs results in every 10 seconds, , if run many of them, once cpu usage leveled off, take more , more time between results, os rationing cpu time among them. on pc windows or linux start 3 times number of copies required 100% cpu usage, , took longer time between results, worked.

is there possibility achieve same on android phone?


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -