[Q] Does A2SD result in more available 'process' memory? - Hero CDMA General

Is the phone's internal memory shared for both app-storage AND running processes? I had assumed they were separate memory pools.
I monitor my Running Services pretty closely and I can see the memory mgmt only trying to maintain about 18 MB free. The phone starts to lag if there's less than that so I would like to see more available, e.g. 30 MB! Would implementing A2SD achieve this? Again, I was under the impression that it would not. Other threads have specifically stated that A2SD has nothing at all to do with performance and instead is intended to make it easier to switch ROMs by maintaining all your installed apps on the SD card (apart from the memory you need to flash when changing ROMs)
Thank you for any clarification!

Internal memory has nothing to do with RAM, which is what running processes use.

You want auto killer. Can set your minimum memory free and forget it, and let android maintain it.
Sent from my HERO200 using XDA App

Related

Should/can I move apps to storage card?

Hi
I have installed a few programs on my TD2 - all to device rather than storage card - and am getting a little concerned that performance may be suffering. With my prevous device I used SK Tools to move apps to the card - but I'm not 100% clear whether this is good practice.
With nothing running, Settings reports 223.10 MB free for storage (75.29 in use) and 75.87 MD free for programs (108 in use). I have installed things like Sprite Backup and Terminator, ActivePrint, SPB FreeCell, MyLife Organized PocketPC Edition, Resco Sudoku Touch and Gaz TD2 Tools.
Really grateful for any advice.
Thanks
I don't see why installing programs to the device memory should cause performance to suffer? It's only available RAM memory which affects performance, and this remains the same whether you instal to the device or to the card. It's when you open, and leave open, several programs at once that performance suffers.
The nice thing about modern phones is the amount of internal storage, which is plenty for masses of programs. The only performance issue you may have is when downloading large files with Internet Explorer, as I think it uses internal storage as temporary space for the file being downloaded, even if you tell it to save to the memory card. I don't think Opera does this though.
Installing programs to the card means you can't "hot-swap" it unless you're absolutely sure all the programs are closed.
In addition to the above internal phone mem is faster than mem card so performance takes a hit if you use the card.
And you run the risk of more freezes and resets being needed.
It is my firm belief that the use of internal mem avoids a lot of hassles all round by making the phone more stable.
And I almost forgot that internal mem uses less battery power than mem cards.
Easy answer...
Use removable storage for data, on-board storage for apps.
If you have too many apps for on-board storage, consider a slimmer ROM for your phone. Remember on-board storage also works as RAM for your apps, so the more you have available, the more apps you can run.
DeathJester said:
Use removable storage for data, on-board storage for apps.
If you have too many apps for on-board storage, consider a slimmer ROM for your phone. Remember on-board storage also works as RAM for your apps, so the more you have available, the more apps you can run.
Click to expand...
Click to collapse
I'd check on that last statement if I were you!
The Topaz has 3 memory areas.
One for flashed ROM.
One for operating RAM.
AND one for storage.
It makes no difference how much you put in storage RAM.
It does make a difference how many apps are running at any one time in operating RAM.
A slimmer ROM image won't make much difference either.
How much of that ROM image is unnecessarily floating around in operating RAM at any one time will make a difference.
Go to settings/system/device information/hardware inforamation
I currently show
RAM size
288 MB
Flash memory size
512 MB
Storage size
342.47 MB
That's a lot of free storage available onboard that is just waiting to be used.
If you go into settings/system/memory you will find storage and program memory values displayed.
Install an app and the in use value of storage memory goes up.
Run an app and the in use value of program memory goes up.
Showing that they are two quite separate physical areas running "independantly" of each other.
Thanks!
Thanks for the helpful responses - much appreciated.
Andrew
werdna72 said:
Thanks for the helpful responses - much appreciated.
Andrew
Click to expand...
Click to collapse
Your welcome to any help we can give.

Always low on memory - Advice

Hi all,
I'm always low on memory on my phone, I run quite a few hungry apps so looking at suggestions now please. I'm a linux-person but this one baffles me on the right way to go ahead.
I'm on CM-4.2.3.1 pretty much as standard, no tweaks to note on it.
Advanced Task Killer shows me at generally around 17Mb available memory, but in my logs I often get:
Code:
11-12 13:33:43.102 I/ActivityManager( 322): Low Memory: No more background processes.
So I'm thinking I need to do something. I've not got swap enabled, nor have I got compcache as far as I'm aware, so what should I go for here and is there a simple guide on it? As I have done a few searches and its overwhelming the information that comes back.
Thanks in advance everyone
You could try the free app "automatic task killer" see if that helps. I've personally came to the conclusion that CM 4.2+ ROMs are RAM hogs themselves. Try flashing a ROM with the 10 meg RAM hack if it bugs you.
You're supposed to be low on memory.. That means your phone is using the it to the greatest efficiency.. Empty memory is wasted memory. Unless you're experiecing long load times and loads of caching, its normal.
goldenarmZ said:
You're supposed to be low on memory.. That means your phone is using the it to the greatest efficiency.. Empty memory is wasted memory. Unless you're experiecing long load times and loads of caching, its normal.
Click to expand...
Click to collapse
qft, this is typically how linux runs anyways.
Do you have an ext partition on your SD for apps2sd? How about a linux swap partition (enabled)?
mikedmeyer said:
Do you have an ext partition on your SD for apps2sd? How about a linux swap partition (enabled)?
Click to expand...
Click to collapse
I second the suggestion for using a linux swap partition!
Agreed, and yes I have a swap partition correctly formatted, however thats the problem there are too many "guides" of how to enable/use the swap on CM, so if anyone can point me to the right entry (couldn't find it on the CM wiki either), or how to enable any of the other memory enhancements (compcache or whatever)
Thanks!
You can dl user.conf app from the market. explanations are given in the help section

Memory: Storage vs Program

Here's a problem I don't understand:
How are most ppl able to install so many things on their HD2 and not use up memory space?
So my HD2 has a total of 193.43MB of Storage and 457.01MB of Program.
When I install games and programs and apps, I install them on the device. This takes up "Storage" memory.
I guess, what is the difference? And how can I choose between where (On device or micro) to install each type of game, apps, program?
1) What uses Program memory? What uses Storage memory?
2) If I install a game on the microSD, and do a flash to a new ROM, will I have to re-install the game on the microSD again?
You should keep a basic strategy:
Whatever prog belongs to the operating system (like HTCSense-hacks, GUIs etc.) or should work without storage card:
Install it to the main memory
Whatever prog is not operating system critical (games, browsers, navi-software, apps, photos, videos etc.):
Install it on the SD-Card (the setup in 99% allows You to choose between main memory and Storage Card). It will eat up little by little Your RAM (by adding values in the registry, icons regs in the startup-menu), but this might centuries ´till RAM is full.
Move Cashes to SD-card as described in
http://forum.xda-developers.com/showthread.php?t=583638
and try to keep main data memory above 50 MB.
Maybe installing progs to the SD-Card might make progs a litlle bit slower (not much though) but this way You can install hundreds of apps on Your HD2 (and never forget: before installing a new prog make a full backup of the main memory e.g. with SPB-Backup and if the new prog crashes Your device restore. Also for this it is ALWAYS better to install a new app to SD-Card instead main mem).
lemonspeakers said:
Here's a problem I don't understand:
How are most ppl able to install so many things on their HD2 and not use up memory space?
So my HD2 has a total of 193.43MB of Storage and 457.01MB of Program.
When I install games and programs and apps, I install them on the device. This takes up "Storage" memory.
I guess, what is the difference? And how can I choose between where (On device or micro) to install each type of game, apps, program?
1) What uses Program memory? What uses Storage memory?
2) If I install a game on the microSD, and do a flash to a new ROM, will I have to re-install the game on the microSD again?
Click to expand...
Click to collapse
Program memory is RAM that is used by the operating system when executing programs.
Storage memory is where apps are installed and are then available through your icon links.
Calls are made from ROM to storage and then executed in RAM.
There are a number of issues to bear in mind when deciding where to install apps.
Installing to mem card results in slower operation of the app.
Installing to mem card results in higher power usage and therefore drains the battery quicker.
Installing to mem card can result in operating system freezes and overall slowdowns.
Installing to mem card will establish app links with the operating system that won't necessarily be usable if you flash other OS ROMs. Fresh reinstallation of apps should always be done after a flash of any new ROM anyway to keep things clean and running smoothly and reduce operational glitches to a minimum.
Any backup and restore software should only be used when restoring to the same
ROM and never across a ROM change. Sync all items you can before and resync afterwards.
Only install to mem card those apps that force you to or when you have run out of main storage and similarly have no choice.
If you know you are going to install masses of apps from the outset then as had been mentioned install operating system critical apps to main mem and the rest as you can using mem card last.
This is all good practice and good housekeeping.
Great Post !
Great thread !!!
I always wonder if Storage and program memory can be modified.
It was a long long long time ago, it was possible with my palm pilot...
Is there an application for monitoring RAM usage ?
I have about 190 Mo of free Ram and 39 Mo of free program memory.
woaloo said:
Great thread !!!
I always wonder if Storage and program memory can be modified.
It was a long long long time ago, it was possible with my palm pilot...
Is there an application for monitoring RAM usage ?
I have about 190 Mo of free Ram and 39 Mo of free program memory.
Click to expand...
Click to collapse
There is no real reason to monitor any mem usage unless you operate in a memory hungry fashion. And that will only occur with the install of numerous apps. If you run out of storage mem then that's the time to do something about it and if that doesn't happen, then don't worry about it because your phone won't know the difference.

What's the internal memory good for ?

What good is internal memory on Droid X ? How can you access it and what can you put on there ?
It's faster than SD Card memory because it's built into the phone and doesn't have to pass data as far. You have 8 gigs of it built into the Droid X. I bet you could access it with the Android SDK methods, but I'm not sure if you can put it into mass storage mode like your SD Card.
TL;DR Internal memory faster than SD Card
The internal memory is the default location that all your apps are installed to if you do not choose to use app2sd to run them off of your sd card.
Sent from my DROIDX using XDA App
amathophobia said:
The internal memory is the default location that all your apps are installed to if you do not choose to use app2sd to run them off of your sd card.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
are you sure ? haven't people been complaining of low memory space for apps, like only a few hundred MB.
I have tons of apps and don't use apps2sd for any of them (it gives me nothing but problems). Haven't had a single problem with not enough space.
StDevious said:
are you sure ? haven't people been complaining of low memory space for apps, like only a few hundred MB.
Click to expand...
Click to collapse
there's RAM and there's internal memory. RAM is where the ACTIVE apps run, not where they are stored. There is only a few hundred megs of RAM, but thats fine. Internal task killer will start killing them if you managed to drop it below a certain level from running too many apps at once i.e. autokiller settings <> ATK.
What i wish is that apps with libraries could store the library in the internal rather than in the SDcard, it would help with clutter on the SDcard, and probably access faster too...

Droid2 RAM Memory question.

Sorry if these are DUH questions, but while I've been working with computers since the mid 80's, I'm fairly new to the smart phone game and unfamiliar with the way they work internally.
Is the RAM on these phones a physical chip (like a PC) or is it a software defined allocation (virtual)?
Also, and more importantly, if it is software defined, is it possible to allocate more of the phones internal storage memory to RAM?
I've noticed that while I'm only using about 7% of the internal storage, RAM is typically running at about 80% used.
The device is rooted, running 2.3.2 and currently running the stock VZW rom.
Any insight on this would be appreciated.
Thanks!
I imagine android uses virtual addressing instead of physical addressing but I'm not sure.
I CAN tell you, though, that android (specifcally the dalvik vm) is designed to keep things in memory instead of freeing it to reduce load times, etc. If it starts to run out of memory it unloads things, probably on a LRU basis.
I see. So then the amount of available RAM really doesn't matter as it works more like cache?
It's not really much different in windows... if your usage is under certain limits, very little will be paged out. 99% mem in use is fine in windows. 101% is not.
I guess the main difference is that closing an app is not as integral to android as it is to windows, so those of us who are accustomed to closing apps to save memory feel a bit odd.
Sent from my DROID2 using XDA App
True, but a windows system with twice the memory of another, will usually run better. Which is what prompted me to ask this question to begin with. I figured if there was a way to re-appropriate some of the unused portion of the storage area to the frequently used area of RAM, it would make the system run faster and smoother. I just don't know if it's possible or if it even makes a difference with the Android/Linux OS.

Categories

Resources