Browser (stock, Chrome, facebook internal browser) crashing - Galaxy S III Q&A, Help & Troubleshooting

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?

Related

[Q] how to change [Opera/internet browser] category from EMPTY_APP to HIDDEN_APP

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)?

Browsing the web in Android is killing me because of its low memory policy

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.

Why browser tabs are constantly reloading afer moving browser to foreground

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?

need help, phone keeps closing apps in the background

hi all,
i have the V30+ and it sometimes closes apps for no reason, examples:
1. playing candy crush and then i get a watsapp message, i go to watsapp and answer and then go back to the game and it reloads, the game was removed from memory.
2. driving with waze while the screen is off (using sound only on long straight roads) and it just closes.
any ideas? is there a setting or something or is it a bug?
In recent apps window you have little pin and you can pin an application that will not be closed.
I've noticed the same thing. It almost seems random. Sometimes I'll tab out from Pokemon to Discord and tab back and the game will have closed, sometimes it will still be running. I have set the battery settings for power saving exclusions on certain apps and those apps are still randomly closing. I am wondering if there is another setting somewhere?
I don't like the pin option because I want to be able to manually close the apps as I need. If I un-pin it to manually close it, I have to remember to re-pin it next time I open it to keep it from closing unexpectedly? This is also assuming that the pinned app doesn't close in the background anyway.
Pinned apps are still closing when in background. When opening 'recent apps' the app appears to be still there, but when selected it has to reload from scratch. Something is killing backgrounded apps.
bump. I also have this issue. I would like a fix
have exactly the same issue. Power saving exclusion ON for an app. Switched to another app such as browser or whatsapp, switched it back and the app that excluded from Power Saving was killed.
Mine is a H930DS with 4GB ram. When looking in Settings > Memory I usually have less than 900MB free. Is it a normal free memory level?
jvw said:
have exactly the same issue. Power saving exclusion ON for an app. Switched to another app such as browser or whatsapp, switched it back and the app that excluded from Power Saving was killed.
Mine is a H930DS with 4GB ram. When looking in Settings > Memory I usually have less than 900MB free. Is it a normal free memory level?
Click to expand...
Click to collapse
Android is designed to use 100% memory.
Sent from my LG-H932 using XDA Labs

Custom ROM. RAM for browser is low. Lag, crash app.

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

Categories

Resources