Hello all
I will describe the situation:
I have installed Android 10 custom ROM (Bliss) on my smartphone, before that I installed Android 8 and 9 (LOS, Bootllagers, crDroid ...).
The problem for all versions of Android is similar: when using a preinstalled browser or ViaBrowser that work in WebView, after loading 5-8 pages, the phone heats up and the system lag, then the browser simply closes. My smartphone has only (2GB ram).
The problem is that RAM overflow occurs, Android system loads RAM up to 1.6GB (not the browser process, but the Android system itself). Due to the fact that the RAM runs out, the android begins to close the cached and running processes (the user) to ensure the operation of the browser (only the browser remains in the cache, and the running processes, for example Whatsapp or Email, are constantly in restart mode - I think this is where it starts smartphone warmer). Some processes start to restart, but they cannot do so because there is not enough RAM, so the phone freezes and heats up due to cyclic start / end of processes.
Now working with the browser is simply impossible, and heavy Chrome or other browsers, such as Opera, Dolphin, slow down and warm up the smartphone a lot, even if there is enough RAM.
1. Can anyone advise,there are solutions?
2. What happens to custom roms, are they all so crookedly written (unfinished) or do just need to fix something (build.prop as an option) so that android can work properly with RAM in the browser?
- Found 1 option as the solution (as it seemed to me): ro.config.low_ram, set the value to "true" in build.prop - it did not help
Device: Samsung J510F (j5xnlte)
p.s: In stock android 7 there is no such problem, the browser works well, and the android works "correctly" with the RAM. The android system loads RAM up to 900mb, and the browser process itself is about 70mb - no more. Can surf the Internet endlessly, the smartphone is a little warm.
0
Related
i have htc desireS with virtuous unity saga (with sense). major problem im having with opera and default android internet browser is that it keeps closing almost all the time - when i start any other application. when i go back to browser, all tabs refresh.
i did some research and found out that android memory management is not very good :/
i have 100MB RAM free at all times. when starting+closing shadowgun+angry birds, i can get 180MB extra free RAM(no visible application is closed while getting this extra RAM).
when i close shadowgun+angry birds apps, i can get almost 300MB free RAM total. after while(with no extra apps started) it goes back to 100MB free RAM. i saw the same behavior with HTC Sensation running stock ROM and Nexus S running stock ICS ROM(all hover around 100MB RAM free most times).
is there any way how to protect internet browser before all other "empty_apps"? for example changing category of opera from "empty_app" to "hidden_app". i tried changing it with auto memory manager, but it reverts back to default in few seconds.
i was testing most common browsers and found out that skyfire browser is the only browser which is running as "hidden_app" with OOM4(all other browsers are "empty_apps" OOM9+, thus closed first).
to test if skyfire is the only browser which can survive almost everything i tried starting skyfire(this was started first to test OOM - should be closed first), opera, dophinhd and default browser. then i started angry birds to force low memory. only skyfire survived with open web page. all other web browsers reset, weird is that with angry birds running, i still had 112MB free RAM. when i do the same test without starting skyfire, all other browsers are closed anyway, with free RAM around 100MB.
any ideas(other than sticking to skyfire)?
Today I (supposedly) disabled lowmemorykiller by putting zero in minfree and adj files. I already have swap partition set up (size 1 GB) in a class 10 SDHC card.
Then I proceeded to open all the apps that I have installed and set them in a different state from default (like opening its settings, opening a file in case of officesuite etc).
These things happened:
1. After a max limit, older apps started to vanish from task manager to make space for newer apps
2. used swap space did not exceed 122 MB
3. when I tried to return to very old apps, some of them retained their last state giving an illusion of multitasking but a text message I was typing disappeared, did not even get saved as draft. ALL web browsers were killed. Some reloaded pages from internet, Opera Mini and Easy Browser failed to save last state (they always fail, so does Adobe Reader) so they were back to home screen with all opened tabs lost.
4. After an incoming call, when I returned to all the apps a second time, I found that all but the lightest of apps had lost their last states.
After setting minfree to zero and enabling swap with 60 swappiness Android is still killing apps without my permission.
<rant> I usually have less than 10 apps open and some of them can be memory intensive. Multitasking is better than default now, but still kinda random. I can't ever be sure that if I open this document now, I won't find my previous 20 minutes of research session lost upon returning to browser (history is messy for retrieving long sessions and very short in case of Opera Mini. Even Chrome browser sometimes crashes and gets reset not to mention always reloading all pages while Android Browser in ICS only renders crashes. My data limit is 3 GB/month). The three major handheld OS right now are Android, iOS, WM7 so don't tell me to stop whining and change OS; there is nowhere to go. At least Android is open source and there is a chance of someone legally implementing proper (like in PC) multitasking in it except multiple instances of same app which will probably be a little too much to ask for from a community but seeing that browsing the web is my main concern and all browsers already support multiple tabs, it will not be a deal-breaker for me</rant>
So my question is, how do I stop this T1000 Ninja Edition? Throw it into the chasm of Mount Doom?
On a serious note, any help will be appreciated. If you can't solve it but know what is killing my app sessions, please explain that.
SO I have come to the conclusion that ICS's maximum limit of Background apps is 18. As long as the app is not older than 19, it should be visible in task manager and should be in memory. I have set swappiness to 100 and use of swap memory increased to 221220. I'll put further pressure on it to see how it behaves when lots of tabs are open but I am afraid that 100 swappiness will make the device crash if too many tabs are open. It has already started to suddenly reboot time to time.
Edit:
It does not work that way. Android seems to really have its own will in this matter. There is no rule found by me so far that can predict when an app will be unloaded from memory. It seems time plays a role too.
At least iOS and WP7 clearly state that they do not support multitask. Google is the worst of all.
Edit:
Chrome Browser is not loading the pages from internet upon being recalled from task manager. It is loading the pages from swap but looks just like loading over 3G. Any changes in the actual pages are not being reflected until I manually hit reload. Not sure if other browsers will follow suit.
Hello
Why the tabs in the browser are reloading after moving it to the foreground?
Succession of actions:
1) I opened the browser & some tabs (for example, five) inside it.
2) I opened some website inside each tab.
3) I pressed "Home" button, returned to the desktop (main screen).
4) I runned some other apps.
5) I let my phone to rest for a while.
6) I opened the browser again (by tapping the shortcut on the desktop or selecting the browser in the list of the recently runned apps).
7) My browser reloaded the contents of the each tab when I trying to accessing it.
What is the reason of the behaviour described above in the p.7?
Sometimes, when the amount and the "power" of apps, mentioned in the p.4, were relatively small, there were no reloading of the pages during the second access to the browser. Sometimes, after the relatively small system load during the p.4, but relatively big "rest period" during the p.5, the pages reloading rook place in the p.7.
What's the problem? The lack of memory resources or are there some kind of "invalidation period", after which the page content considered to be obsolete and has to be invalidated?
I bought Lenovo Vibe Z2 Pro 1.5 weeks ago hoped that this issue stayed in the past, but it didn't.
P.S. As far as I heard, the Android OS has quite another RAM management model than the Windows one. In Windows the RAM block, assosiated with the app X, remains "busy" and locked from using by other apps for the period of the app X execution, up to X closing, while in Android there are no clear and distinct app closing, only moving to background take place. So then Android needs a RAM and there are no free RAM of the desired amount, the system unloads the "oldest" app in background and uses the RAM block, previously assosiated with this app, for the new purposes. If so, are there any ways to "lock" some apps (such a particular browser) in order to prevent their unloading and avoid the tabs reloading then re-accessing them?
Sometimes when I'm browsing ( using Chrome but not necessarily, sometimes when reading an article with Facebook internal browser ) it simply crash without any message, just return to home screen. When I check the used ram is at 450-500-550, signs of an automatically ram clear ( I'm not using any free ram tool ). Seems that the system simply end apps due low ram I suppose but shouldn't start with background apps? Why it clear my foreground application? What do you know about this?
Strangely as it happens lately before I didn't had any similar issues, it doesn't matter how many tabs I had opened in Chrome, never but never crashed. This happens also with the stock Browser so the problem could be the system actually, not an app.
I'm on Stock from sammobile
Nobody?
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