[Q] How to Swap Memory For Speed?? - Nexus S Q&A, Help & Troubleshooting

I want to know i to swap nexus s memory so it to use the swap memory as ram and i will able to run more applications?

acutally , i heard something , but i don't know if it is real , need someone good at android to confirm that.
Android and Java have different memory management besides windows
the less memory has left , applications run faster , because applications already have been loaded in memory at first time you run it instead of reload it from disk (like cache), and when applications require more memory , the system will release more memory as it requires
therefore , you don't have to kill applications to get more memory in order to make your phone run faster
i don't specially to do such thing like kill apps or clean memory to get more memory , but my Nexus S is still damn good

Related

How to free PROGRAM MEMORY in wm5

I had a friend who had this problem.I wonder who can help?With my O2 wizard i used to be running short of rom space ie storage memory as it had only 32mb left at factory default settings. My friend is running short of Program memory.ie ram space.
She is using eten m600+ that had 180mb storage for user and only 30mb program memory for user left at time of factory default settings.(when Bought from the shop)
original specs state 256mb rom and 64 mb ram.
after installing many programs the ppc still had about 125mb(excessive and redundant for running programs) left in storage and only 10 mb left in program memory.
Problem is certain programs like mapking, imap, agenda fusion(3000 contacts) consumes about 10 mb of program memory to run. then there is insufficient program memory to run a 2nd program at the same time.
If only we can shift like in my case 10 to 20mb from storage memory to program memory the the etenm600+ ppc would be wonderful.
IS IT POSSIBLE TO DO THIS?
She has also a miotech A700 with about almost the same programs installed.The miotech factory default program memory is also left with 30mb when purchased. HOWEVER with almost the same programs installed the program memory left is about 25mb.THERFORE on miotech there is no problems to run multiple programs concurrently.
Question:
1.What cause the difference in usage of the program memory?
2.What to do to ensure that the program memory is not used up during installation of programs?
3.Are we able to see the Program memory to identify which of our programs are occupying the space?
4.Can we do anything eg to shift the programs that occupy the space in program memory to storage memory or storage card( like the way we are able to shift certain programs from storage memory to storage card by shifting the programs from the Program files in Main Memory to Program files in storage card therby freeing the storage memory)
Any insight into this would be much appreciated. At this point manufacturers had yet to increase ram ie program memory from 64mb up to 128 or 256mb as had been done for storage memory ie rom in the case of eten600+ had been increased to 256mb from 128mb(Eten m600/o2 or dopod products)
With my O2 wizard i used to be running short of rom space ie storage memory as it had only 32mb at factory default settings
Ok, here is the memory explanation:
As you may or may not (I am not quite certain from your post) know on WM5 devices like the Wizard storage memory is ROM, or more precisely flash (NAND if you want to get technical).
Program memory is RAM (I think it's SRAM not sure).
Since these are two physically different types of memory there is no way what so ever to use one in place of the other. So no borrowing storage memory to run programs.
Even if it was somehow possible (which it's not) to use flash to run programs it would bring your device to a halt as its read / write speeds are much to slow.
On WM5 systems RAM (program memory) is used just like on PC exclusively for running programs. It can not be used for storage so there is no danger of it being wasted during installation.
I don't have an explanation regarding the ETEN vs MIO issue, but keep the following in mind:
1) 64MB is in reality reported as about 55MB (binary count difference), 10 - 15 of that is reserved by the system and as much as 5 more may be taken up by resident apps / services depending on the device and the provider.
2) Same program may use up different amounts of RAM under different circumstances and may have memory leaks which means the memory it uses grows over time even if you do not input more data.
Also check out this neat app. Its a really great tool if you want to see whats going on on your device.

[Idea]add memory to myTouch

Originally, a2sd was developed to allow installation of many apps on G1 as G1 has limited memory. The MT3G has more internal memory so it does not need a2sd.
My question is if we can enable a2sd on a MT3G and than use the additional memory for the system. This can improve performance so much ....
Is this possible? I'm a dev, but not on this kind of platform . I know shell scripting, Unix, C so I can help if needed, but don't know how to approach this thing.
Thx.
mr.tenuki said:
Originally, a2sd was developed to allow installation of many apps on G1 as G1 has limited memory. The MT3G has more internal memory so it does not need a2sd.
My question is if we can enable a2sd on a MT3G and than use the additional memory for the system. This can improve performance so much ....
Is this possible? I'm a dev, but not on this kind of platform . I know shell scripting, Unix, C so I can help if needed, but don't know how to approach this thing.
Thx.
Click to expand...
Click to collapse
It depends. Now if you have a 32a board, this is pointless. Unless you have 300+apps installed it will not hurt performance.
I sugest App killer to kill off unused apps that never shut down, it helps so much/
Me really dont need Apsd for mytouch, especially the new 32a boards. Running from the sd card slows everythign down. To improve your performance..
1. Get CPU overclosk from market, set lowest to 386, high to 528 screen on, screen off 256/256.
2. Download swapper, set to size of yoru swap partition etc...
3. Get any free app killer ( ifully suggest Anvanced task killer) and every hour or so, go in and ignore what u use all the time, and kill everything else.
Also, get Cachemate from market or Clean up. this clears out all the garbage.
Doing this, on a good day, my battery lasts 17 hours with data going. and My Live wallpapers never lag
Hi,
Thanks - I already have all that set up. I was thinking on a MOD that will allow improvement of performance in a different way.
My Idea is to actually use the memory that becomes available under /data as we move the app to SD to be used by /system partition. Maybe we can also do a "reverse RAM hack" and increase the 3D RAM.
Again, as I'm not very familiar with the Linux system I don't know how exactly this should be done, or if it can be done at all.
Thanks for the reply though
storage memory in the phone is different then addressable ram.. therefore what your saying is not possible...if you really want something like this set up a swap partition on your sd card.
also task killers are not needed for android... its been well documented here and on other forums as android handles processes much differently than your standard windows box (so no need to have the mindset that background apps are slowing down your system). android itself does an excellent job of managing memory and kills tasks itself when more mem is needed. i used to run ATK myself, and found after removing it my phone actually ran better than killing processes all the time.
your likely just having a placebo affect if you think it speeds up your phone.. however killing process can increase battery life.. albeit only slightly...try it yourself and you will see what im talking about..
regarding task killers, just google it and you will see what im saying...
edit: most roms have cpu scaling in them, if you want an app i find set cpu to be the best, followed by overclock widget...
edit2: forgot to mention autostarts . a great program to edit which programs start up upon boot .. if your still worried about having things running in the background...
I was trying to get a swapfile on /Data (being a lot faster than sdcard, probably), but It didn't work :/

[Q] How to reduce the memory of android system?

Such as the 512M memory replaced of 256M, the system remained stable,
I am currently from three directions,
(1) delete apk do not need to use in system\app
(2) delete services do not need in the SystemServer.java
(3) delete services do not need in the init.rc
there are other ways to reduce the memory?
THANKS.
Nope, that pretty much covers it. Don't worry about low memory, android is programmed to memory manage and kill background apps when it gets low
icenight89 said:
Nope, that pretty much covers it. Don't worry about low memory, android is programmed to memory manage and kill background apps when it gets low
Click to expand...
Click to collapse
I think that he is saying about ROM memory not RAM.
@fox19110324
I think that u can move cache to sd card
EDIT:
moving apps cache and dalvik-cache
@icenight89
I know what u mean.
But I really want to make sure the system can remain stable when I reduce the RAM from 512M to 256M,even 128M。
“android is programmed to memory manage and kill background apps when it gets low“。For example,when the RAM is lower than 15M,the system begin kill background apps。when the RAM is lower than 5M,the system begin kill Laucher app。
so....
@ch3mn3y
sorry,,I mean RAM...
noboby help me?...
Since I have installed "Autokiller memory optimizer", i have a new amazing device.
It is so much faster than before.
So try it out.
The only disadvantage of this program is, it is not so easy to understand with their settings. But take time, play with the app and you can have a new amazing device ;-)

[Q] - T-Mobile Vivacity

Hi, just been having a read through the posts on this phone, My Mrs has this and there's a significant lack of memory available.
It apparently has 512RAM, however the user useable part of this seems more like 64. She's moved as many apps as possible to the SD card, but still keeps getting errors for lack of available memory.
Is there anyway around this? I've seen some threads about apps that will extend the ram to your SD card giving you more available.
Will a new ROM give any help on this? or is it a case of new phone
She's only using Facebook, Text, Phone, occasional internet on stock browser, and that's about it at the moment, but others would be nice for her. Not a good experience for her introduction to Android IMHO.
Is the phone already rooted?
Sent from my WT19i using xda premium
Not yet, Its still stock as it's the Mrs phone and she doesn't tamper.
All that's been done is she's moved all the apps she could to run from SD card.
Well,, first of all.. try to differ between RAM and internal memory. They're two different things.
RAM (Random Access Memory) is the memory for ur phone processing. It consist ur applications that currently working, i.e. when u open message, the RAM decreases since ur message app use some space of memory to work. when u open another app, the RAM will decrease again.
Internal Memory here is the space for ur apps storage. When u installed some app, it take space in order to succeeded when install. Each time u installed an app, the space will be decreased.
I guess that when u look into that phone, that 64 of memory there is an internal memory, not the RAM which u supposed to think. So, please notify it first. Is it really the RAM or just Internal Memory.
to know your RAM and Internal Memory space, u can access like this.
For Internal Memory : Setting > Applications > Manage Applications > All. then look into the bottom bar for the space of internal memory.
For RAM : Setting > Applications > Manage Applications > Running. then look into the bottom bar for ur RAM space.
Qijos said:
Well,, first of all.. try to differ between RAM and internal memory. They're two different things.
RAM (Raw Access Memory) is the memory for ur phone processing. It consist ur applications that currently working, i.e. when u open message, the RAM decreases since ur message app use some space of memory to work. when u open another app, the RAM will decrease again.
Internal Memory here is the space for ur apps storage. When u installed some app, it take space in order to succeeded when install. Each time u installed an app, the space will be decreased.
I guess that when u look into that phone, that 64 of memory there is an internal memory, not the RAM which u supposed to think. So, please notify it first. Is it really the RAM or just Internal Memory.
to know your RAM and Internal Memory space, u can access like this.
For Internal Memory : Setting > Applications > Manage Applications > All. then look into the bottom bar for the space of internal memory.
For RAM : Setting > Applications > Manage Applications > Running. then look into the bottom bar for ur RAM space.
Click to expand...
Click to collapse
I'll get all the info off the phone tonight - if I remember.... :silly:
However please bear with me, being new to technology, I've only worked with it since 1998, but RAM = Random Access Memory. I've never heard of Raw. same as ROM is Read Only Memory, and EPROM is Electronically Programmable ROM (IE you can flash it.)
bikky73 said:
I'll get all the info off the phone tonight - if I remember.... :silly:
However please bear with me, being new to technology, I've only worked with it since 1998, but RAM = Random Access Memory. I've never heard of Raw. same as ROM is Read Only Memory, and EPROM is Electronically Programmable ROM (IE you can flash it.)
Click to expand...
Click to collapse
Ah yes.. I mean Random Access Memory not Raw.. Sry, have been stayed too long at my office.. -.-
Lol..
However, let me know how is it going later. Will try to help u..
Sent from my WT19i using xda premium

RAM Expander Roehsoft not working on my tablet, how can i fix this?

Hello everyone,
I need some help with expanding RAM of an old android tablet of mine, more specifically, an Genesis GT-7204, using an SD card.
I rooted the tablet already and granted the app RAM Expander from Roehsoft root permissions, but when i try to use the app i get the following message: "This path is not available for swap!" Image below:
https://imgur.com/4MZ2l
The path i used was mnt/local:
https://imgur.com/6zUH7
Thanks in advance!
The images might be blocked, in any case i will post them here.
Personally have experienced that Virtual RAM ( aka SWAP RAM ) can only get created on a device's internal storage memory ( aka /sdcard ).
Hint: As path manually enter /data .
BTW:
Android since ever comes with virtual RAM ( SWAP RAM) feature. The internal storage memory used herefore is the /cache partition.
Also take note that an Android apps' memory usage by design is limited to some MBs. Even if you increase in Android's system file called build.prop the related amount, it's not sure that this is taken into account: an app's develeoper allows this or not.
And keep in mind that apps that did not fit in the RAM before without swap do not suddenly fit in the RAM.
Don't expect wonders using Roehsoft's RAM Expander. Probably you may not notice any gain in device's performance.
So i can only use my internal storage to add RAM? And not the SD card?
And to do this i have to manually set a path, but i am new at this, but i have to use /data or there is something else?
And in my case it is worth it, because this freaking tablet has only 500 MB of RAM!!!!!
jwoegerbauer said:
Personally have experienced that Virtual RAM ( aka SWAP RAM ) can only get created on a device's internal storage memory ( aka /sdcard ).
Hint: As path manually enter /data .
BTW:
Android since ever comes with virtual RAM ( SWAP RAM) feature. The internal storage memory used herefore is the /cache partition.
Also take note that an Android apps' memory usage by design is limited to some MBs. Even if you increase in Android's system file called build.prop the related amount, it's not sure that this is taken into account: an app's develeoper allows this or not.
And keep in mind that apps that did not fit in the RAM before without swap do not suddenly fit in the RAM.
Don't expect wonders using Roehsoft's RAM Expander. Probably you may not notice any gain in device's performance.
Click to expand...
Click to collapse
So i can only use my internal storage to add RAM? And not the SD card?
And to do this i have to manually set a path, but i am new at this, but i have to use /data or there is something else?
And in my case it is worth it, because this freaking tablet has only 500 MB of RAM!!!!!
pprg1101 said:
So i can only use my internal storage to add RAM? And not the SD card?
And to do this i have to manually set a path, but i am new at this, but i have to use /data or there is something else?
And in my case it is worth it, because this freaking tablet has only 500 MB of RAM!!!!!
Click to expand...
Click to collapse
Honestly I never used Roehesoft's RAM Expander on a real Android device and I'll never will use it: In my eyes it's crap. And, you'll find no serious confirmations in the WEB that it works as claimed.
Android for good reason doesn't come with SWAP feature. Android's Memory Manager frees RAM if necessary.
It's on you to play around with Roehesoft's RAM Expander. Good luck.
My last 2 cents here:
SWAP is a place on the internal storage memory (usually a dedicated partition) that is used to store programs or data that can't fit in memory, like when a program grows more than the available RAM (BTW: In the world of Windows this space is called Swapfile.sys ). SWAP is way slower than RAM, so when you create / enable SWAP the phone gets slower, but at least the program can work.
All the stuff that can't or shouldn't stay in your RAM is written out to SWAP and read back in when needed. This means that the SWAP medium needs to be fast and resilient to lots of writes.
IMHO using an external SD card as SWAP fails on both counts. It is slower at reading/writing than a phone's internal drive, and each of its constituent sectors can only be written to a limited number of times before they wear out and can no longer reliably store data.
SC pl

Categories

Resources