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
Post a Comment