E
E
Evgeny Nizamiev2016-01-05 23:52:59
Android
Evgeny Nizamiev, 2016-01-05 23:52:59

How to speed up the unloading of an application from RAM?

When the application is minimized and you start using other programs, then after some time the minimized application is unloaded from memory, but, as it were, there remains a state for restoring the application.
On my devices, this time is about half an hour, so debugging the application is not possible. How can this time be reduced? Maybe pick something in build.prop?
In developer mode, "Do not save activities" and "Background process limit" is not suitable.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Evgeny Nizamiev, 2016-01-06
@RadiationX

Everything turned out to be very simple, the solution to the problem was constantly under my nose. If you go to "Settings> Applications> In the cache> * application *> Stop", then it just works as I need.

O
one pavel, 2016-01-06
@onepavel

You can hurry up with this command
android.os.Process.killProcess(android.os.Process.myPid());

F
FoxInSox, 2016-01-06
@FoxInSox

You can kill the process (all activities, services, threads) through adb:
adb shell am force-stop ru.your.app.package

G
GavriKos, 2016-01-06
@GavriKos

After folding, load the operating system of the device. Launch Skype, a dozen tabs in the browser, some kind of game. In order for the operative to approach the limit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question