Hello, i tryied to open an excel document but the app stay loading, and then it say's Memory Full. I tryied with many apps, office suite for tablet, thinkfree for tablets, and quickoffice for tablets. My tablet is running android 3.0, because i live in brazil. What i can do to solve this problem, i need much to open this document and edit it.
The document is attached, any suggestions ?
calage1234 said:
Hello, i tryied to open an excel document but the app stay loading, and then it say's Memory Full. I tryied with many apps, office suite for tablet, thinkfree for tablets, and quickoffice for tablets. My tablet is running android 3.0, because i live in brazil. What i can do to solve this problem, i need much to open this document and edit it.
The document is attached, any suggestions ?
Click to expand...
Click to collapse
Oh... wow. I don't think I have ever seen a Xoom where the RAM gets overworked like that. Never have a seen it run out of memory... it shouldn't ever run into memory problems, especailly with 1gb of RAM. The Android system will manage the memory so that this won't happen. I believe the original 3.0 may have had a memory bug issue, but has long been repaired. Honeycomb was never before seen when it launched with 3.0, thus there were bugs and problems. Mainly due to the fact that it was a rushed and unfinished project.
The answer for your question: I would use a task killer if I were you, (though it is not really needed or recommend in most cases) and kill all of the apps to free up the memory. Try this task manager, it works on Honeycomb: Android Task Manager
I tryied to use task killer, but i have the same problem, any suggestions ?
calage1234 said:
I tryied to use task killer, but i have the same problem, any suggestions ?
Click to expand...
Click to collapse
Hmm... that should have cleared up all of the memory issues. Kill all apps, or even killing just a few apps will clear up enough system memory to run another app. Or reboot as well.
First thing: You should see if you can try and get off of the original 3.0 Honeycomb version, and to the newest 3.2. The original has many bugs and issues, because it was unfinished and rushed out like I said. I don't know how they do things over in Brazil, but... if you can root your Xoom, it can work wonders for you regardless of the country it came from. Let me know if you need anything else, like if you would like to become a root user.
Related
I think every software that i DL have a meny option "Exit" but microsofts own software thats included in the phone don't have this. I have to use task manager to quit this software. or Im i missing someting?
There's lots of software to do this eg Xbutton etc
yes maybe but why do they do it?
jonas18z said:
yes maybe but why do they do it?
Click to expand...
Click to collapse
Because they're Microsoft. That should be enough explanation. Actually, their explanation is that they consider it is more memory efficient to leave programs in memory and let windows allocate the memory itself.
^ what he said. Microsoft wants so much to demonstrate that these phones are perfectly capable of multitasking that someone on the higher end decided that all programs shall remain open.
Causes all types of problems if this is done for a prolonged period - Note to M$: you can't just port winDOS code to mobile and hope it works.
think old wm devices were slower for some of those mem loading tasks
and in general people were using the same applications again and again
in which case it was easier to minimize them
an application you start ONLY! use as much mem as it was written to use
so if it use 2MB it dont run any faster if you have a pda with 2GB
and if WM starts to get low on mem it itself will unallocate memory from programs which havent been access'd for awhile so the program which require the mem can have it
this is why you dont normaly get an outof mem error with alot of applications running
and if WM starts to get low on mem it itself will unallocate memory from programs which havent been access'd for awhile so the program which require the mem can have it
this is why you dont normaly get an outof mem error with alot of applications running
Click to expand...
Click to collapse
This has been proven to be patently false, I believe. WM2002 had out of memory errors. WM2003 won't allow anymore programs to run, and WM5 just hangs. Apparently M$ has a very, um, questionable definition about which program "hasn't been in use for awhile".
me too experienced out of mem errors repeatedly, usually it's enough to exit internet explorer which i use from time to time (it starts faster then opera and minimo)
Read this: http://blogs.msdn.com/windowsmobile/archive/2006/10/05/The-Emperor-Has-No-Close.aspx
the only microsoft application i've seen that actually closed and that had 'exit' option was comm manager i used for about a year. yesterday i changed rom (from 1.6.2.4 to T-Mobile 2.26 ROM) and i see that this mistake is corrected - the new comm manager present in this rom also has exit button, but as well as 'x' button it only minimises it. way to go M$! ;]
hi there...am a big fan of the vox....but the problem that i face after say 2-3 days of continuous use is the memory leak. it has abt 22 mb free when i soft reset, but after this time, has less than 10 mb remaining. i shut down programs regularly, use the hibernate function on smart toolkit, and i use sk tools lite to use the memory free function. could anyone solve this problem? i read somewhere that a rom upgrade may solve this issue. tried the htc website, it says the rom upgrade is not suitable for my device. can someone help? someone like dr. martin gonzo or frauhottellmann? r u there? my device details are below
CE OS 5.2.1236
Radio 4.1.13.41_02.88.90
ril version 2.002
Pls tell me which ROM is the most stable, if i need to update any thing else too that is available on this forum/ I have photo contacts pro v 5.05 andfacade 1.4.10 running in the background.
Oh i forgot. I use smart toolkit too
The ROM is 5.2.1236.17741
I would prefer a light ROM, as I dont use word mobile. I have documents to go instead.
scanman1 said:
hi there...am a big........
I would prefer a light ROM, as I dont use word mobile. I have documents to go instead.
Click to expand...
Click to collapse
Try fireburned's Clean ROM or fraun's Lite ROM, both of them are super fast and super stable .
Backup - some doubts
thanx.....downloaded it, will it work and install with my vox as per the details ive mentioned above?
my second query....im not too particular abt my messages and stuff, and ive just synchronised the data on my mobile to outlook ( contacts, tasks and appointments )....is this enough or must i properly back up everything else? pls lemme know. as ive never flashed a rom before.
also, will flashing a new rom delete the stuff on my storage card?
scanman1 said:
thanx.....downloaded it, will it work and install with my vox as per the details ive mentioned above?
my second query....im not too particular abt my messages and stuff, and ive just synchronised the data on my mobile to outlook ( contacts, tasks and appointments )....is this enough or must i properly back up everything else? pls lemme know. as ive never flashed a rom before.
also, will flashing a new rom delete the stuff on my storage card?
Click to expand...
Click to collapse
Search for PIM backup, that is a software which back up all your PIM information to Storage card, or whatever folder you wish. No flashing will not delete anything from the storage card. But be sure that you are not using Encryption on the SD Card.
thats ok...i have sprite backup with my phone. will have to reinstall it though/
my question is....is a fullback up necessary or will an outlook sync be enough? when i reconnect after the flash, active sync will set up a partnership again right? will that delete all the outlook data stored on my comp or will my comp refill the pim data back on to my device? thats what i want to know.
also, will the new rom significantly alter my battery life? am a doctor, and it may not be possible for me to keep charging my mobile when i am on rounds and so on
one more doubt, addicted2xda. will flashing one of these custom roms solve the memory leak issue? its driving me crazy. cant go 3 days without doing a hard reset. and how much will teh free memory be with say, fireburned lite rom?
Well after a couple of days you will of course have less RAM available. You always have to close apps in the task manager and use some RAM-free-up app! I use the function of sktools lite!
frauhottelmann said:
Well after a couple of days you will of course have less RAM available. You always have to close apps in the task manager and use some RAM-free-up app! I use the function of sktools lite!
Click to expand...
Click to collapse
yes boss...i use sk tools lite too. but it doesnt make too significant a difference, with the end result that after say 3-4 days, memory dips to less than 8 MB, and voila! my phone hangs!
am now trying out fireburned's lite rom, seems good for now. lets see! any further ideas to minimise the ram leak?
Use the taskmanager - as frauhottelman said already - to identify the processes that grow over time. You can use the built-in, just change the view to "process" and sort by memory. WMPlayer or Audiomanager are memory hogs from my experience.
For debugging you may also want to execute "devicehealth.exe". This will create a decent summary of memory consumption to the root (or card-root). You may have to search for it (in the forum or or the web). It is a tiny tool from the SDK afaik.
tobbbie said:
Use the taskmanager - as frauhottelman said already - to identify the processes that grow over time. You can use the built-in, just change the view to "process" and sort by memory. WMPlayer or Audiomanager are memory hogs from my experience.
For debugging you may also want to execute "devicehealth.exe". This will create a decent summary of memory consumption to the root (or card-root). You may have to search for it (in the forum or or the web). It is a tiny tool from the SDK afaik.
Click to expand...
Click to collapse
have been using fireburned's rom, seems pretty stable. however, after doing a sync with active sync, the memory which was say 17 mb, dips to 14 mb or less. any hibernate function or say, the task manager or even the sk tools function brings it back to only about 15 mb or a little marginally higher. the more times i use activesync, the same problem occurs. say i use it three times, the memory lands up around 12 mb, after all programs have been shut down. and after using the hibernate function on smart toolkit. any ideas? did a search and found that it s a process called gwes.exe which hogs memory mostly. but this is guess is a system process and cant be shut down i suppose. any suggestions? ur take on this, frauhottellmann?
Still problem not solved!
hmm..tried using the ram free function on sktools. seems to actually decrease the amount of ram available!!! and with each use of active sync, the available ram decreases sharply. my wife has an imate spl, and the amount of ram remains constant around 25MB even after 10 days....anyone have any ideas? have read somewhere that it is a problem peculiar to vox. the problem with decreasing ram is, after 3-4 days, the dialler starts malfunctioning. i am able to make out the calls ringing, but no way i can pick itup. max, i can cut the call. it registers as a missed call....any body with any ideas out there? any way to cut the ram leak?
one more doubt,,,the old sk tools had an optimize wizard. the latest one seems to be lacking this feature. is there anyway that the active sync filesystem can be made read-only ?
Pretty strange. Are you using any third party software that may be causing the problem? Also note that after using activesync, it doesn't shutdown on its own. You have to manually shut it down to release the memory. Further try using the default home screen, instead of the sliding panel which comes with new 6.1 ROMs.
Because I normally have more than 20 MB free . No matter how long I have kept my device on.
Or better still, just reboot the device before going to bed .
yeah. i use photocontacts pro and smart toolkit in addition to microsoft voice command. and is it a good idea to keep rebooting the device daily? i thought the rom upgrade was supposed to fix that!and i love the sliding panels. the default homescreeen sucks
scanman1 said:
yeah. i use photocontacts pro and smart toolkit in addition to microsoft voice command. and is it a good idea to keep rebooting the device daily? i thought the rom upgrade was supposed to fix that!and i love the sliding panels. the default homescreeen sucks
Click to expand...
Click to collapse
Sliding panel really drains the battery like hell. Its not a problem if you reboot your ROM daily. I flash my device (both), well almost once a week atleast . So that requires rebooting as well. I really don't know whats wrong, but I never had the RAM issue, try fireburned Clean ROM or fraun's lite ROM for a change and see if you find any difference
I have same problem with my htc vox
I have at most Beautiful widgets and marketplace and it is says I only have 100mb left in ram.
Is this normal for ZPad to use that much in system resources?
Using ZPadClean 1125_2_2.
I do not recall my tnt rom using quite that much with nothing running.
I would presume it is something I am missing though.
Elric W said:
I have at most Beautiful widgets and marketplace and it is says I only have 100mb left in ram.
Is this normal for ZPad to use that much in system resources?
Using ZPadClean 1125_2_2.
I do not recall my tnt rom using quite that much with nothing running.
I would presume it is something I am missing though.
Click to expand...
Click to collapse
I would check to see if something you installed is still running. I think a stock build of zpad has about 350mb free on boot.
However, if you run for some time, open and close some items. They will not exit from memory until something needs it. This is how android is setup, so that the second time you start something it is already in memory and ready to run.
I appreciate the reply. That may be the ideal, but when it gets down to 60mb.. it crawls and starting up new programs takes a few seconds.
I will continue to tinker at it.
Hello,
I do hope my questions fit in here.
I recently bought the LC-Power MIRA-1 10.1" tablet. In google play it is called "unknown M105F"
the tablet has a 1,2 GHz A10 - ARM Cortex A8 CPU and a Mali 400MP GPU
i do have some experience with backup/root/uc&oc and even custom mods with my motorola defy phone (currently running cm7.2 stable)
when "playing" around with my defy i found it was sold in big numbers and is very well supported not only here but in any number of other communities. however, since my new tablet is pretty new to the market and no brand tablet, finding information on it is near impossible.
i do hope this will change in the future, especially since I really feel that my tablet is well suited for a number of tasks and with the price tag of ~150 EUR might even have a chance of finding its way in the hands of many people
anyway, even if the tablet is fine as it is now, it could be better. i am talking about modifications and this is what this thread is about.
1) BACKUP
in case i screw up, I really would love to have the possibility of resetting everything(!) back to factory defaults.
with my defy it is as easy as downloading the official sfb and flashing it with rsd lite
this wont work here for obvious reasons
is there a possibility to download the firmware to the pc (from the tablet) and later restoring it? probably not
so the only way left is nandroid backup?
easier said than done with a new device and without root...
also, i would very much prefer to have a backup without root / be sure to be able to remove all modifications i made like installing clockwork mod and rooting...
2) ROOT
for various reasons I'd like to have root. according to my information, rooting 4.0.4 is dependant on the device.
considering i have an unknown device, short of trying every possibility, what else could i do/try?
3) UNDERCLOCK/OVERCLOCK
I would LOVE to try to UC and OC the tablet. I know this might fail miserabely, but I could try.
IF i had root and any idea on how to find (again, short of trying every possible app) a working app.
any ideas?
4) GENERAL CUSTOMISATION
i learned that a well made custommod (like 7.2 for my defy) can make a huge difference in customisation and performance.
I would be willing to try a stable custommod but for now, I dont think that is viable since they usually are device specific.
So all I can do is use another launcher and hope for the best. I really like the performance, functions and especial the ability to customize the AWD Launcher that came with the cm7.2 for my phone.
According to google play the awd launcher is not compatible with my device. i cant imagine why, but there it is.
now, is there a way to still try it?
and what launcher comes closest to the performance, feel and customizability of the awd launcher (i do NOT care about special visual effects on which most launchers seem to concentrate)?
5) SIMILAR DEVICES
the best way to approach all those questions might be to find a (very) similar tablet and try to extrapolate answers from there onto my device.
however, I have no clue on how to figure out what chipset my tablet uses and what other information might be needed to try it that way
---
thats it for now
any and all help will be appreciated!
thank you for reading this
Catwiesel
Hello
okay, I have some news...
since no one had anything to say I went ahead and started trying stuff out...
Apparently, the tablet is rooted by default (or my measurement of being rooted is wrong):
- when i run the app root checker, it says it is rooted
- when i run adb shell / su the prompt is root:directoy #
- i can create and delete files from /system/app
still, something is up...:
- using the adb shell i can create a file in /system/app (touch test.tst)
- if i try to delete/move anything in the adb shell from /system/app apparently the file can not be found
- it works in terminal emulator
- ive installed superuser, but have yet to see the "application asks for superuser rights"
- with the default file browser or es file explorer i can not get to / (stuck in /sdcard) EDIT: Resolved, layer8 problem!
ive also tried some overclocking apps
- they either do not go beyond 1.2ghz (stock) - the apps however is more or less to uc, not oc
- they crash the tablet even with 1248mhz - maybe the scaling gouvanours fault?
- underclocking seems to work (by accident i set the mhz from 1200 to 60 and well... it was SLOW)
i also found out some stuff (quick info system pro)
- ARMv7 processor rev 2(v71) (ARM Cortex A8 1,2GHz - at least according to the tech sheet at the manufactorer)
- sun4i
so, i wonder:
- is the tablet actually sold rooted? then why do i not get superuser permission popups?
- is my hardware not overclockable with (those) apps (i have) and/or do i actually need a custom kernel (ive read abput self compiled kernel for sun4i and another tablet)
ive gotta say, even with a bit of experience in android (acutally, very little) and a bit of linux (not too much, but decent enough) i am sorta confused
...not alone
I´d bought 2 devices LC Power Mira 2 yesterday...they should be delivered on friday...so hang on...you´re no longer alone...
It could be that the device is rooted...as far as I know...
Google runs some kind of an quality assurance by denying some "nobrand" manufactures the total Android 4.0 compatibility.
For an example the Arnova (Archon´s budget line) 10b G3 is running 4.0 but without the Play Store, ´cause the device is not fully supported as an "Quality Android 4.0 Device" and you have to use a custom rom on that tablet.
That´s one reason to spend 5 Euros more for the Mira2 which have it all onboard...or am I wrong...?
thearclight said:
I´d bought 2 devices LC Power Mira 2 yesterday...say should be delivered on friday...so hang on...you´re no longer alone...
It could be that the device is rooted...as far as I know...
Google runs some kind of an quality assurance by denying some "nobrand" manufactures the total Android 4.0 compatibility.
For an example the Arnova (Archon´s budget line) 10b G3 is running 4.0 but without the Play Store, ´cause the device is not fully supported as an "Quality Android 4.0 Device" and you have to use a custom rom on that tablet.
That´s one reason to spend 5 Euros more for the Mira2 which have it all onboard...or am I wrong...?
Click to expand...
Click to collapse
Yes, indeed, at least the MIRA-1 tablet does come prerooted. This is of course nice (since I do not have to try root it myself) but also troubeling, since there is a good reason that android devices usually are not sold rooted. The bigger problem however seems to be that the superuser app is not working properly, i.e. I do not get the "this app is requesting superuser acess" question and probably for the same reason can not get my file browser (ES file browser) to go into the / directory.
what and if other apps could have trouble with the root access that apperently not every app is "finding" i dont know. i do hope not!
however, using the android sdk or shell emulator, all kinds of SU operations can indeed be executed.
concerning your google play store question (was it a question?), yes, the MIRA-1 tablet has google play installed and it can be used without any peticular limitation. its a safe bet that the mira-2 will be able to, too.
my experience with overclocking the tablet does not bode well. even a 48Mhz (smallest step) increase will freeze it. I have tried multiple apps.
i do not have any absolute answer so far. it could be that the oc apps have trouble with the root or are plain the wrong apps or simply that the cpu is already at its absolute limit and just can not be oced.
further investigation into this issue has revealed that apparently other tablets with similar hardware configuration may be able to overclock but apparently it would be neccesary to edit config files and with those compile the kernel. this is far beyond of what i can do and would be willing to do.
i am a bit sad about that, then yeah, the tablet is nice and good enough for me and worth the money, but a bit more speed could not hurt. it does happen that the tablet gets unresponsive for .5-1sec when browsing the web.
one last thought. the gpu does seem to be pretty "powerfull" (please, do not take me to literal.)
but i have yet to find any game that does not run smooth and looks good. according to my information i came across, the gpu is indeed well known for its good performance in 3d and full hd playback
(one exception. snes emulator is unplayable slow. but here i too blame the cpu, not gpu)
...
...sounds good to the fact that I won´t expecting more for this price. Hey 157€ is´nt very much for an 10.1" tablet...
...I´d got also my LG P990 as Android device and smartphone...believe Me...I know what it means being betrayed...no updates...Tegra ? - nVidia ?...I don´t wanna talk about it...lol
It´s rooted and I never got problems with some apps about this fact...ok it´s still on 2.3...thanks LG, by pretending the update comes in May 2012...
I´d send an e-mail to the support of LCpower, by asking about an list of compatible 3g Sticks...10min. later...Answer and an Exel-file with the whole list...great service...´til now...
I just hope that I´d bought 2 "nice" family tablets for a few funny games, sometimes a movie, some social networking...nothing more.
Hope I did´nt misunderstood something here...
...is it only possible with another Explorer (like Astro and ES) to get to the files of an external SD Card or not ???
thearclight said:
...sounds good to the fact that I won´t expecting more for this price. Hey 157€ is´nt very much for an 10.1" tablet...
...I´d got also my LG P990 as Android device and smartphone...believe Me...I know what it means being betrayed...no updates...Tegra ? - nVidia ?...I don´t wanna talk about it...lol
It´s rooted and I never got problems with some apps about this fact...ok it´s still on 2.3...thanks LG, by pretending the update comes in May 2012...
I´d send an e-mail to the support of LCpower, by asking about an list of compatible 3g Sticks...10min. later...Answer and an Exel-file with the whole list...great service...´til now...
I just hope that I´d bought 2 "nice" family tablets for a few funny games, sometimes a movie, some social networking...nothing more.
Hope I did´nt misunderstood something here...
...is it only possible with another Explorer (like Astro and ES) to get to the files of an external SD Card or not ???
Click to expand...
Click to collapse
well, the external sd card behaves a bit strange (at least for my understanding of android)
in short:
we have 2+1 memories in the tablet:
1 internal memory (small, i think 256mb, quite full with the android os and the apps)
1 other internal memory (the 8GB)
1 slot for the sd card, the +1 memory
now, everything begins at / (i figure this is the small internal memory)
the 2nd internal memory with 8gb is mounted under /mnt/sdcard and i believe /sdcard (where i would expect the sdcard!)
the sdcard itself can be found at /mnt/extsd
es file explorer has some trouble with that. if you launch it, it will start in /sdcard
since it does not recognize root, you can not go to /
since you cant type in the path by hand you can not go to /mnt
so apparently you cant browse the sd card with es file explorer (or i havent figured it out yet)
the preinstalled file explorer has no trouble with it at all. in fact, it even actually sends you to the right memory when you tap the corresponding symbols (as preinstalled file explorers go, it is actually not so bad)
ive tried setting up some symlinks but failed. maybe i did it wrong, maybe it just wont work.
another possibility to fix it could be editing fstab. but this could be dangerous and/or cause more problems then it helps
i filed that as a minor inconvenience to be adressed when im bored enough
...
Ok...this means...that I just hope that the Mira2 is accepting my microSD16GB and I can use it quite as normal...
In 2.3 it´s still the structure: " /mnt ---> /mnt/sdcard ---> /mnt/sdcard/_ExternalSD"
Is this structure changed in 4.0 ?
thearclight said:
Ok...this means...that I just hope that the Mira2 is accepting my microSD16GB and I can use it quite as normal...
In 2.3 it´s still the structure: " /mnt ---> /mnt/sdcard ---> /mnt/sdcard/_ExternalSD"
Is this structure changed in 4.0 ?
Click to expand...
Click to collapse
well on my mobile phone (motorola defy with cm7.2) i have /sdcard and /mnt/sdcard - actually being the sdcard
i also have /sd-ext which is empty
i dont know if that is the default for all android versions and/or if there are differences in sd-card mount points in android
however, the behaviour of the phone seems more logical (or its just that i am used to it)
whatever it is... the sd card of the tablet can not be accessed by /mnt/sdcard/ANYTHING
however, further research especially with the es file browser has shown that indeed you can browse the sd-card /mnt/extsd by switching the two in the favorites options.
so, maybe it makes sense, maybe it dont.
maybe its andorid 4.0.4 conform, or not.
what is important is that apps apparently dont mind (they do get installed on the 8gb internal memory mounted at /mnt/sdcard and /sdcard) and so far have yet to refuse to work/show strange behaviour
also, it is possible to move/copy etc files between /mnt/sdcard and /mnt/extsd and browse both directories, at least with the default android file explorer as well as es file browser.
So...a little update...the 2 devices are now in our hands...for about one week...
....and everything I can telling 'bout them...
,,.they're working great. Not a single bad issue, no freezes, and as far as we can see...
...for a price around 160€ there is no better tablet on the market.
Since yesterday I run the game Wild Blood (Unreal Engine 3 Game) which is most famous for an app who killed some tablets and phones...but nit the mira2 ...it's playable.
The device was also rooted "out of the box" but I can't find a single problem with the external SDcard or other USB Hosts I tested.
Sent from my MIRA-2 using xda app-developers app
Had the same issue thanks for the help guys
Guys I have problem with Android smartphones. I am not the youngest anymore and remember the first PCs and first smartphones with 32x less memory then an average handheld device has today. I played with them all and know what they could do. The thing that still continues to surprise me till today on Android is WHY the heck can't an app stay in memory without being quit on the first occasion?? I really think that Android will never be usable for any serious work if things keep closing or reloading just after a few switches between apps!
Some examples: why can't I switch between Chrome browser and Onenote to type something without having that webpage be reloaded again using more data and sucking more battery power? I learned not to risk writing any bigger post into some forum lately because if I would have to switch to another tab to check some info or switch to another app the in progress text would most likely be lost because webpage would reload! Why is it so risky to switch out of some game to write a message or check calendar because it is very likely to be killed and my progress lost? The phones I used recently (Xiaomi Mi2s, Xperia Z3 compact, Xperia Z5 compact) have frikin 2GB of memory, so I wonder if nowadays apps are so much more memory demanding then before that this is simply still not sufficient. I just checked settings and some apps I just tested use few tens of MB, so it is still comparable to the times of Windows 98 or Windows mobile IMHO.
My first smartphone was windows mobile Samsung Omnia II with just around 90MB of usable memory and let me tell you that this problem was not happening on it! I could have several tabs with webpages (even non mobile versions) open and could safely switch on the camera, take pictures, write an sms and go back without having to worry that anything will be closed or reloaded! Why can't I open a camera app on Android and take a photo without having the previously open app be closed?
I can even compare today's android phones to one of my oldest pcs back in year 2000 or so. Imagine that it had just 64MB of RAM. I could have open many webpages in Internet Explorer (yeah it was far the best at that time , a few editors for web and text editing and I could even play some game and alt+tab back and forth without any problem! That was Windows 98 guys. Of course you will tell me that today's web pages for example are much bigger then in 2000. OK but what about mobile versions huh? I don't think they are that big so a phone with 2GB of RAM would choke.
I always thought that apps are supposed to be paused/frozen when I switch out of them but left in memory. Unfortunately it seems apps are being killed surprisingly often even when settings / memory shows hundreds of RAM free. The thing that is even more weird to me is that apps I had open just a few seconds ago are being closed upon switching to some other one and back, but the ones which I had active hours ago often stay in memory! That does not make much sense. Why doesn't android kill the longest not active apps first instead? OK, so do I have to buy OnePlus 3 or Meizu Pro 6 with 6GB of RAM to be able to keep simple 3 apps open without worrying that they will reload when switching out of them? As I showed this does not happen on much older devices with similar specs, so is this some fundamental flaw/feature of Android architecture or am I missing some simple explanation?
If you have experience with Windows Phones or iOS regarding this please share and compare.
So it seems everybody agrees
But I would really like to know some of your experience with other phones from the fruit company for example...
java
---------- Post added at 07:20 PM ---------- Previous post was at 07:11 PM ----------
> Why doesn't android kill the longest not active apps first instead?
There is some heuristic going on that calculate the oom priority and modifies /proc/PID/oom_adj so. For example (foreground) services have lower oom_adj (less likely to be killed by oom-killer). Actually I ended up adding code to my app that overrides /proc/PID/oom_adj to a really low number to keep it running (but that requires root - I also dont understand why *the user* does not have a chance to say "hey android keep running this app in the background!")
> Unfortunately it seems apps are being killed surprisingly often even when settings / memory shows hundreds of RAM free
Yeah that "low memory value" (ie when to kick off the oom-killer) is also set somewhere in /proc (?) It's 200MB on my phone with 2 gigs ram IIRC. To test what's getting killed (and whenl, etc.) this app is superb: https://play.google.com/store/apps/details?id=com.tspoon.androidtoolbelt
it's all even more annoying because starting even basic apps (like dialer or contacts etc. etc.) takes even seconds(!) if they are not in memory already (on any phone!) ... oh, well, java
Thanks for a reply! Have anybody tried MIUI? There is an option to lock an application and supposedly prevent it from being killed when multitasking. Just swipe up in tasks view and it marks it with a lock. I have just read this article and it seems manufacturers set these LMK values. I have a feeling they are really high for Sony phones. Maybe if I root mine I would be able to change those. Unfortunately it seems without root I cannot even view these values. They show as 0 in /sys/module/lowmemorykiller/parameters/ and cannot be opened. I can't open those oom files either.
yeah, defo need root for this
Oh and it gets worse. Because of this behaviour many apps use a nasty trick of setting up an alarm (usually with wake lock) triggered every second to make sure they are running (if a process is not running and there is an alarm for that process set up, the process is started).
So what happens is that the OOM/low-memory killer kills the app it is started by android framework the next second ... and it might get killed by oom-kiler again ...
It's interesting to run "apktool d foobar.apk" and grep the smali for "AlarmManager.set" on apps that want to run in the background ...
CleanMaster app is good and it saved me from exhausted internal capacity issues many times (on Z3Compact) and it also shows apps which frequently restart. Is that because of what you just wrote? I remember it was Pinterest a lot for example.
and it also shows apps which frequently restart. Is that because of what you just wrote? I remember it was Pinterest a lot for example.
Click to expand...
Click to collapse
sounds like it could be the case but you it's hard to tell for sure - you would have to have a look at logcat at least
I have logcat. What would you search for there?