Hot answers tagged

37

In the context of Android, more RAM means Android can keep more sleeping program in the RAM so they will be ready to be quickly resumed when you return back to the apps. More RAM means Android is going to spend less of its time killing and reloading apps from the internal memory/sd card, and instead spend more time doing actual work you care about. This ...


21

I doubt that there is a direct correlation between battery consumption and RAM usage. The hardware doesn't know which RAM cells contain 'used' data and which not. So there can be no difference in battery consumption on that level. But I think that one could say that unnecessarily killing Apps causes a few extra CPU cycles when those Apps have to be re-...


18

You can't. Most smart phones are designed as a System-on-Chip; which means that the CPU, RAM, GPU, device controllers, etc are all in a single chip. Updating RAM in such system means replacing a whole lot of other stuffs. Not to mention that you probably would have a hard time finding a chip with different specification which fits perfectly into the hole ...


16

Well this is very subjective, because it depends what you're doing. First of all, true multitasking (having multiple apps run) requires a faster CPU, so that all the processes can run at a decent speed. You are right that for all these apps to remain in memory, you need more RAM. I have 512 MB RAM, and my processes only start getting killed if I run ...


15

Think of RAM like a paper notebook. You can write data into the book (with a pencil), and you can erase those data and replace them with new data, but the book's always the same weight. The book doesn't get any heavier, whatever you write in it. The same way, with current RAM technology, the battery use of the RAM is fixed, regardless of what (if anything) ...


11

Although your device may have 512 MB of RAM in it, the settings almost always report the RAM that is available to user processes, not all of the physical RAM. This means that it won't report any memory that is being used by: Android's system-level processes Your GPU, which often uses shared memory Any memory a cellular radio chip may need to function (...


10

In the source code of Android M that you can find here, is this statement: /** * @hide Range of uids allocated for a user. */ public static final int PER_USER_RANGE = 100000; In this line of code, it states that a user can have one hundred thousand UIDs. However there is a conflicting information. You know that root UID is 0 and system UIDs start ...


9

According to Google Google Play services provides you with easy access to Google services and is tightly integrated with the Android OS. And from the description in the Play Store Google Play services is used to update Google apps and apps from Google Play. This component provides core functionality like authentication to your Google services, ...


9

Whilst you can uninstall it, it will automatically be re-installed on your device as it is an extension of the Google Play ecosystem and Google automatically updates Google Play services on all supported devices via the Google Play Store to ensure API consistency across devices and versions, and to deliver fixes and new features in a timely fashion. Some ...


8

Wrong. Galaxy S does have 512 Mb. the problem is that you cannot use it all for programs. From that 512 Mb of memory 128 Mb are reserved for graphical purposes and for phone modem. You don't want any call to end because programs running took all that memory, do you? The problem with the Galaxy S is that if we take into account that 128Mb we should have 384....


8

There are several factors, which I'll address (pun intended) in no particular order. RAM is expensive Sure, memory chips may be cheap, but that's not the only (or even the main) cost. Alongside the RAM itself you need extra buses, power lines, bigger memory controllers, heatsinks, &c. The RAM also takes physical space on-chip. For oomph-per-dollar, at ...


8

Android doesn't use virtual memory (in the sense you mean) by default, because it has a higher-level mechanism. Transparently writing pages of memory to flash storage is bad for battery life (and for the life of your flash storage, which can only handle a certain number of writes) and performance, especially since the application has no control over which ...


7

No not every android phone does this but it is done in many HTC phones. The reason is simple: memory usage. Here is the breakdown: When the system is running out of memory, the inbuilt task killer of the system automatically kicks in and checks to see if it can stop an application and recover some RAM. HTC Sense devices employ a launcher that is "heavy" ...


6

I don't think there will be much benefit with swapping for Android, as the Android Application Life Cycle is a much more advanced form of swapping. (1) Will there be many not-oftenly-used memory pages to swap out, especially in OS and those un-killable services? You can't swap the OS kernel even in Desktop Linux and Android already kills services ...


6

These things helped a lot : Looking at which apps drained the most power. Performance improved a lot after uninstalling Facebook and a few other apps I had downloaded over time. Upgrading to CyanogenMod 10.1-M3 helped. They fixed a nasty memory leak, which probably accounted for parts of my issues. A little before the first 10.1-RC candidates, the CM team ...


6

Android, just like Linux variants, use as much memory as they think they need for optimal operation. Because of this, more stuff may be preloaded, so apps load faster or the interface is more fluent. So, if your memory is almost full, that doesn't neccesarily mean that you don't have any memory left. On the other hand, Android L uses a lot of animations, so ...


6

No piece of software can increase the amount of hardware (which is what RAM is), that your phone has. If you have 512MB of RAM, then you will always have that much. What this app does (as mentioned in the above comments) is create a swap file, similar to a Windows pagefile, which can act as RAM when your normal RAM gets near full. There are a couple issues ...


5

Android devices are very similar to computers, they consist of a BIOS (Basic Input Output System), an OS (Operating System) and then Applications and Data. The BIOS would be stored in EEPROM (Electrically Erasable Programmable Read Only Memory), or rather a sub-type called Flash Memory. (Wikipedia) When the BIOS loads the OS then it is moved into RAM ...


5

Yes. You can partition your SD card and add a swap space to it; I have this on my G1. However, it's fairly complicated voodoo. (link is for G2, but instructions should be good for most phones; however, you should probably search XDA for whatever your phone is to be sure) Swapper 2 from the market will do this for you, apparently. I haven't tried it ...


5

There is definitely a benefit to swapping, despite what everyone else on the Internet will tell you. Try it and see for yourself. Empirically, on a G1 or other phone with low memory, swap makes the phone run better and faster. Yes, Android has Life Cycle "task management" built in, but it's not very good. It routinely kills processes when it runs out of ...


5

Cyanogenmod ROMs has a feature that by LONG pressing the BACK button you can kill the running process.


5

Things that would be cleared are anything that isn't saved, open applications, etc. For example, if you were playing a game, and just pressed the home key the game would go to the background and be paused. When you restart your phone, you will lose that game (up until the last point it saved). Other things that you leave half finished, such as an ...


5

AFAIK, you can't. But, you can customise when to kill background apps (not selective app) by tweaking MinFree values set by Android (root is required for tweaking). If you have problems dealing with it, there are many apps in Play Store for that. My fav is AutoKiller Memory Optimizer. And, when foreground app and/or kernel runs out of memory, killing ...


5

The accepted answer turned out incorrect or outdated. The "App Settings" module for the Xposed app allows you to specify on a per app basis to keep apps from being killed or freed: http://repo.xposed.info/module/de.robv.android.xposed.installer http://repo.xposed.info/module/de.robv.android.xposed.mods.appsettings Responsible care should of course be ...


5

While it's quite unusual to really have 0 byte free, there is no such thing as "unused RAM" on Linux/Unix based systems. RAM that's not used by apps themselves is used to e.g. buffer data from slower media, and caching stuff from the file system. You will see that quite nicely when running the free command on a command line (using a terminal emulator app, or ...


5

In Linux/Android it is not recommended to close apps or use task killers. Unlike a Windows computer/phone, Linux/Android can keep applications "running" in the background which doesn't use any CPU or networking (unless it's a media player). It has actually been proven that closing apps causes more battery drain, because instead of Android being able to ...


5

If you've read around, then you'll already have read that the idea of "free RAM" is a bit of a nonsense for Android. PC operating systems take an app out of RAM as soon as you quit it, which leaves empty space that the PC probably has to spend power on filling again afterwards - probably with the same app next time you run it. Android tries to avoid this ...


5

Lost RAM is TotalRAM - FreeRAM - UsedRAM. That means, it is the difference between the RAM usage that Android is able to compute and the actual available RAM. Sometimes it can even be negative, due to issues where RAM being shared across processes is counted more than once. Drivers are mostly blamed for that. There is a memtrack HAL for them to report ...


5

In this respect, there is no difference between regular PC and Android. The terminologies, however, is slightly confusing. System memory refers to the storage space that is used by system files, and Device memory refers to all storage space. Device memory does not refer to RAM. Your device's RAM can be seen in Settings -> More -> Application Manager. ...


4

From looking at some posts on Android Forums (1), (2) I think it's just not possible - to get more windows/tabs you'll need to use another browser like Dolphin HD/Mini. Edit: Looks from this post on XDA that it's hard-coded into the browser; it can be changed, but not easily.



Only top voted, non community-wiki answers of a minimum length are eligible