Hi, I understand that 4gb of RAM is not the same as 12gb, but is it possible to stop oxyOS killing my opened apps so aggressively? My old Lenovo P2 with the same amount of RAM keeps everything in memory without any problems (custom firmware).
Try going to Settings -> System -> RAM Boost and turn RAM Boost off.
lzgmc said:
Try going to Settings -> System -> RAM Boost and turn RAM Boost off.
Click to expand...
Click to collapse
It is off already. No luck. I think it was designed to empty the RAM. Not only this model. I hope one day we will see some custom firmware or modified kernel.
I suspect it's Android 11 (OOS) behavior because it also happens on N10 (it didn't happen with Android 10)
I have the same thing happening. It's specifically with apps that request camera permissions. Even chrome.
Any time you open these apps, others will isntantly go out of memory.
Related
Is there any other system besides minfree, which frees up memory in android? Have strange behavior of FBReader, which I set to OOM -17 (both processes), chmod to r/o oom_adj files to force it to stick and still cant hold it in memory. It seems to me, that after some time when I dont use phone (hour or two) it is just released and starting again instead of just resuming from memory. If I try to force FBR from memory just by running many other programs, it sticks there no problem. I can run everything it never happened to me that FBR is released and starting again. But when I sleep phone ane leave it, then after some unpredictable time, FBR (and other apps) are just released and starting again. It seems to me, that there is running other process, which just releases apps in Empty app state. Or maybe there is some timeout for empty app, which is then automaticaly ended?
I'm using Nik3r EX8 kernel with 192mb swap enabled, latest viper rom.
Wlk said:
Is there any other system besides minfree, which frees up memory in android? Have strange behavior of FBReader, which I set to OOM -17 (both processes), chmod to r/o oom_adj files to force it to stick and still cant hold it in memory. It seems to me, that after some time when I dont use phone (hour or two) it is just released and starting again instead of just resuming from memory. If I try to force FBR from memory just by running many other programs, it sticks there no problem. I can run everything it never happened to me that FBR is released and starting again. But when I sleep phone ane leave it, then after some unpredictable time, FBR (and other apps) are just released and starting again. It seems to me, that there is running other process, which just releases apps in Empty app state. Or maybe there is some timeout for empty app, which is then automaticaly ended?
I'm using Nik3r EX8 kernel with 192mb swap enabled, latest viper rom.
Click to expand...
Click to collapse
You`ve probably already heard this but android will automatically free up ram by killing of the launcher/system processes as a user app draws more ram, if you run out, android will kill the app using the most ram, usually the app you are trying to use hence crashing/stopping. You can tell if something is using too much ram when the launcher/Htc Sense frequently reloads. If you experience this flash the 256mb swap. Leave minfrees as stock, that way multitasking will actually work (with swap mod). If that doesn`t work, ARHD 6.5 has an enhance multitasking tweak in aroma, download the rom, unzip and in the aroma or extra folder just extract the mod and copy to your phone using root explorer.
I use the ultimate minfree setting in Viper settings, you have to disable usb debugging in developer settings for this to work i read somewhere, restart once set.
-smc
ryanjsoo said:
You`ve probably already heard this but android will automatically free up ram by killing of the launcher/system processes as a user app draws more ram, if you run out, android will kill the app using the most ram, usually the app you are trying to use hence crashing/stopping.
Click to expand...
Click to collapse
Sure, this is Minfree proces, but my problem is bit different. It seems to me, that system has enough ram and allows me to run quite a lot of apps without forcing my FBReader out of memory - when I try in one session. I even set FBR to have OOM value -17, which should force Minfree to ignore this process completely, same as it should do for launcher. But as soon as I leave phone for some time in sleep mode, there seems to be some other mechanism besides Minfree. And this one kills my app - and I dunno why and what is it...
somemadcaaant said:
I use the ultimate minfree setting in Viper settings, you have to disable usb debugging in developer settings for this to work i read somewhere, restart once set.
Click to expand...
Click to collapse
Trying to restart, because I set it without it before, but it didnt hold after phone wake up - already reported this in Viper thread. Lets see if it gets better with reboot - and it doesnt. You can easily check in adb shell by running
Code:
cat /sys/module/lowmemorykiller/parameters/minfree
Minfree is reset every time you sleep/wake up phone...
I confirm the problem.
Whichever ROM I use, I can hardly reply SMS/Whatsapp without loosing Browser or CoolReader.
Actually, I counted limit of 2 hot apps.
The scenario is:
1) I read a book or RSS-reader
2) I receive a text via SMS or WhatsApp
3) For answering I need a browsing for some fact-quoting. At the moment I open a browser, the first application (Book or RSS reader) is killed.
Scenario may vary, but when I open third app, the first one is killed for sure.
I tuned minfree as well, and detected that it is overwritten every reboot too. I usually have 160-200MB free of RAM, and minfree values, either mine (24MB) or default (80MB) are always lower than actual size of available memory.
I switched on "Developer mode" (touch 7 times something in About System. probably ROM version), and specified background limit "At most 4 apps" instead of "Standard limit" (unknown to me). It doesn't help either - third app kills the first.
And I never managed to obtain a solution.
Just adding my vote to the problem (thus bumping the topic).
Hi,
Is there any way to prevent specific apps from being killed? This phone have 3 gb of ram and I am using about 10 apps (not games) and they stay in ram but allmost allways contact app, dailer app are killed and they are reloading when i lunch them, this is sick for phone with 3gb of ram... I would like to have them allways in memory and dont wait for reload. Is there any way to do this?
Tapatapatap Z2
That is because of the way the android system manages the ram, therefore it is normal.
However, I do think that there are some apps that allow you to lock apps into the ram. I am not sure whether they will be helpful though
i've been tryin to solve the same problem, i hate the way android kill the apps, it's to aggressive even in 3 gb of ram device like Z2 or Oneplus One. but i don't think there's a way to fix this bro, the only thing u can try is, use stock android OS (like what nexus series used) even it won't solve the problem, at least the multitasking will much better
Hi everyone, I'm running fully stock latest nougat software, and I seem to have an issue with the phones ram management, using the dev check app I see that even when there are no apps running I only get around 1500 megabytes of ram available out of 3780, which seems inappropriate, since this phone is running pure Android. Would be nice to know if anyone else is having the same issue, and if so, are there any suggestions on how to solve it
Same, my RAM is filled up to 2.7-3.2 GB usually, with not too many apps installed. But I guess it just caches a lot and frees those caches once you actually need the ram
HelloMoto777 said:
Hi everyone, I'm running fully stock latest nougat software, and I seem to have an issue with the phones ram management, using the dev check app I see that even when there are no apps running I only get around 1500 megabytes of ram available out of 3780, which seems inappropriate, since this phone is running pure Android. Would be nice to know if anyone else is having the same issue, and if so, are there any suggestions on how to solve it
Click to expand...
Click to collapse
I have motor z with unlocked bootloader, stock rom 7.0, added some app , now used ram indicated in settings are 1.8 from 3.7 . It's litlle high , but the reffernce ia for last 3 hours. Not in real time.
This is fairly normal with Android, and linux in general. MOst of your RAM usage is coming from caching.
To get a better feel for this, you would want to go to developers options > running services.
If we take mine for example:
Settings > RAM says 2.3GB in a 3 hour period.
If I look in that developer option:
1.5GB is dedicated to the System
865MB for APPS
Which gives me 1.3GB Free
If I move over to the Cached portion I see that 872MB is being used for cached processes.
Hello everyone,
I don't know if there is any mention of this problem anywhere or it's been a common issue for Huawei devices, so please link me to the thread if there is.
So my Mediapad M5 has 4GB of RAM. Normally after a restart, there is about 2.5GB of free RAM presented. But after a couple of days of average usage, the free RAM starting to decrease. This is expected of course, but when the RAM decrease to about 500MB, the tablet becomes unusable. Apps couldn't be opened, current running apps constantly restarted and lagged. I tried to use the Tablet management app (come with EMUI) to optimise the system, but the problem still exists,and the RAM is still at 5-600MB.
I also tried to close all of the services in the Running services from the Developer option, but still, the "System processes" still took like 3.5GB of RAM, and with no other services or app running (not of I aware and the setting displayed), like in the screenshot I took:
drive.google.com/file/d/1ix27K_GjOahWLr-09U5Lfizn2vXbf_fE/view?usp=sharing
(Sorry I can't parse the image here, but here is the Google drive link)
I also tried to reset the tablet and install only some apps to test it, including Rotation manager, Netflix and VLC, and use them at normal rate. After a couple of days, like 4 days, the problem arises, and the only solution for me is to restart the device.
I also tried the option to Manually/Automatically manage apps launching in the Battery manager, but the problem still persists.
Is there any option that I haven't known of or haven't tried? The device works great until it's running out of RAM, and it seems like it don't know how to release them. Or maybe there is a leakage problem, I don't know.
Thank for reading! Have a nice day.
Editted: I'm in EMUI 9, Android 9, non-rootted
Hiya, when i play a game, PowerAmp and other music apps gets killed, here's the error message PowerAmp gives.
Poweramp was killed
Poweramp has detected it was killed during an active playback, probably by some battery saver, task killer, etc.
Please disable such optimization for Poweramp and Poweramp full version
Unlocker (botch can be killed together) in the apps settings
all help appreciate
Add some GB of RAM.
This never happened before though, all i have changed since is, changed the launcher and the new launcher uses even less RAM :/
Also, as far as my knowledge, you can't add more RAM to a Amazon Fire 7
ComputerTech312 said:
Also, as far as my knowledge, you can't add more RAM to a Amazon Fire 7
Click to expand...
Click to collapse
You always can use a certain amount of internal storage memory as SWAP memory ( read: virtual memory ). More info here:
android virtual ram – Make an innovation of technology!!!!
Posts about android virtual ram written by droidappspro
droidappspro.wordpress.com
Yeah my phone isn't rooted though, and i won't root incase of bricking my phone :/
This seems good though
SWAP - No ROOT - Apps on Google Play
Create SWAP file without ROOT.
play.google.com
Hm, does that just create a swap file? or does it actually work?
IMO phone's Android must be rooted to set up a SWAP file. Reason is the SWAP file must get added to Android's system file named /fstab in order to get mounted when Android boots up. And operating on Android's system files requires root.
See also here:
[TOOL][ADB][WIN][ROOT]Android Virtual RAM Creator
THIS TOOL REQUIRES ANDROID IS ROOTED ! In order to work properly an Android device depends on having an adequate amount of RAM ( read: physical memory ). Simply saying that there can never be enough. The more RAM is installed the better it is...
forum.xda-developers.com
Yeah, it's a shortage of RAM. The Amazon tablets are great values but with only 2GB of RAM, it often kicks background processes out of memory.
svetius said:
Yeah, it's a shortage of RAM. The Amazon tablets are great values but with only 2GB of RAM, it often kicks background processes out of memory.
Click to expand...
Click to collapse
1GB RAM on mine
although before upgrading to new launcher, it never did this before, and i found out the new launcher uses less RAM than the old one :/