Related
I think all of you have seen this.. Free program stats from around 25 Mb and keeps on going down even if you completely kill the processes. is there a tool which actually kills the resident dlls and other crap in memory.. Please advice.. i want to get out this habbit of soft reset after couple of days just to bring my memory back up where it belongs ;-)
Cheers
Zobie
Yeah, leaking memory is also one of the very few things I hate on my Wizard
I also would like to know if there is a Memory Cleaner that works like it should and not only kills open programs.
Had problem also. But the Internet Exploder was to blame. I had the history settings to 30 days. Which is the default. Back to 0 days and everything was hunkydory again.
I had problems with memory too. I had less than 1MB of storage memory left. So I went from a custom 2.17 ROM to Mr. Clean AKU 2.3 and changed the Registry setting for IE as follows:
; IE Cache to storage card
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache"="\\Storage Card\\Temporary Internet Files"
I've used this ROM for a week now with lots of programs. I have an average of 25 MB of storage free and the system is fast.
I have experienced no problems whatsoever.
If i don't even open the IE will it still be a memory hog?? i don't understand that.. I can understand that if i use IE all the time it will cause problems but if i don't even use it why woud my memory drop with time. Cans omeone please explain. I am not trying to offend neone here but just wante dto know. I can definitely try the reg settings. Please let me know.
Thanks
Zobie
Don't confuse ROM with RAM and storage with program mem. I think the topic starter referred to his RAM mem becoming less every day, resulting in low program mem and slow operations, needing a reset to clear the RAM and speed up the device.
The IE cache is stored in ROM and will only fill your storage but not slow down your device.
memory leaks are unfortunately a standard issue with PPC devices, I have always suffered from them on both WM 2003 SE and Wm5 devices. For me a soft reset now and then clears it up, but I find it an annoying "feature" as well.
I think like Windows its the In Memory DLLs which are the culprit. I wonder if there can be tools for detailed view of memory for Xp why not WM5.
BUMP !!!
zobie said:
I think like Windows its the In Memory DLLs which are the culprit. I wonder if there can be tools for detailed view of memory for Xp why not WM5.
Click to expand...
Click to collapse
What are the "In Memory DLL's"? Never heard of such a thing.
The memory that slows your device is the addressable application memory, which is a total of 32 MB. You cannot change that or add to it.
Think of it as the same as the Virtual Memory (VM) in Windows XP on your desktop. Every application you open reserves a bit of this virtual memory. Some apps willingly give it up when they close - some that are not as well written do not. A soft reset when you see the device slowing is about all you can do.
My only other advice is that skinned applications - particularly Today screen plugins - use up this addressable memory very quickly. This includes Wisbar Advance2, PocketBreeze and iLauncher, and any weather program. If you are running these, you will always have similar issues. Find an acceptable mix of skinned apps that you must have, and try doing without the rest just to see how it treats your device's memory.
And if you want to see what processes are running, and how much memory they are using, try MemMaid by Dinarsoft or SK-Tools. Great programs.
Amen. I wonder how much is held in reserve by the system in case you start the app again? Real Windows has been doing that for a long time, I wouldn't be surprised if micro Windows did it as well. Kind of reminds me of years ago when NT would report how it actually used memory and the end result was there was almost zero bytes "free" because all memory was always used for something, it didn't let anything sit around doing nothing. But since users didn't get it, MS wrote the taskman and so on to report something as "free memory" even though it wasn't really free. Finally, a lot of apps were designed to hide, not close, when you select the "X". If one of those task manager apps just blows the app away, does it bother cleaning up after the app which wasn't given the chance to clean up after itself by closing correctly?
markgamber said:
Amen. I wonder how much is held in reserve by the system in case you start the app again? Real Windows has been doing that for a long time, I wouldn't be surprised if micro Windows did it as well. Kind of reminds me of years ago when NT would report how it actually used memory and the end result was there was almost zero bytes "free" because all memory was always used for something, it didn't let anything sit around doing nothing. But since users didn't get it, MS wrote the taskman and so on to report something as "free memory" even though it wasn't really free.
Click to expand...
Click to collapse
Take a look here to learn about what you really see in task manager regarding memory/cpu usage.
http://tinyurl.com/l57w8
Finally, a lot of apps were designed to hide, not close, when you select the "X". If one of those task manager apps just blows the app away, does it bother cleaning up after the app which wasn't given the chance to clean up after itself by closing correctly?
Click to expand...
Click to collapse
Depends on which task mamger you are using; some use the WMClose command instead of the Kill command. Big difference!
Tools Like Memmaid SK-Tools don't allow you to identify rouge elements in memory which nolonger have a parent process running. It is those elemts which eat up the memory. I have SPB tools to actually close the application but even then the memory keeps on falling. I guess there is no tool as of today like Taskmanager or even RAM Optimizer for PPC. A Tool like RAM Optimizer would check for the elements which are residing in RAM and are no longer being used. XDA developers can surely write something using the .NE Framework.
J-Mac said:
Depends on which task mamger you are using; some use the WMClose command instead of the Kill command. Big difference!
Click to expand...
Click to collapse
Do you happen to know of a couple that use the WMClose command? I've used HandySwitcher most recently and MagicButton in the past, but have no idea which method(s) they use.
Thank you.
Geoffrey
There must 40 threads on this topics by now. I concur with J-Mac that today plugins are mostly to blame. I use Journal Bar and perform a soft reset roughly every other day. To help the situation I also use 2 programs which I find invaluable - The first is Smartskey which allows you close a program rather than minimise it (its a free download on this forum). The second is SK Tools Free up RAM application which works reasonably well but only delays the enevitable soft reset. It's effectiveness decreases the longer the device remains active.
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
I have one question again. Supposed i have a low phone memory due to so much application installed, will it affect my phone performance, coz i noticed that my phone lags with almost full apps installed in it, I wonder if low phone memory that affects the performance of my phone or bcoz of the running apps simultaneously. One thing after i uninstalled the apps from memory card it still has the folder left in it, is it safe if i remove it manually? Is that the cache? Where is the program files in the memory card where the application is so i can delete the uninstalled apps?
Thanks in advance. Lab2 guys.x0x0
having multiple apps running on your phone will slow it down because each app uses tge phones processor and RAM (random access memory) to function and at different times or circumstances they use different levels of both, leaving multiple apps running leaves tge phone without much memory to get through basic functions such as texting or playing music with ease, there is a simple, easy and free way to solve your first problem, go into your android market and look up "advanced task killer" download the free version and it will show you what is running and how much of your RAM is available and you can stop all the apps from running by just clicking "kill selected apps" and your phone will run alot smoother
as for your second issue, theres nothing to worry about, those folders just contain information the apps that you have previously installed, have downloaded, you can delete them without risk of any damage
Sent from my X8 using XDA App
so even tho my phone memory is full that doesnt affect the performance of my phone right. i only have 43mb left in my phone memory and its a big laggy to respond. Thanks much. x0x0
or instead using of Advance Task Killer, use Fast reboot to improve battery life. You'll be more enlighten if you visit this site [FIX] Drain Battery Fix for CyanogenMod.
You should worry about how much specific app uses your cpu not ram, less free ram = faster phone.
So try to determinate wich apps are using your cpu and kill tham.
Ignore this post if youre using eclair
Sent from my X8 using Tapatalk
Thank you guys for the sweet response. BTW it works i think the prob is my spb3d launcher that makes my phone lags.
Install System application and kill processes from there.
hi all
why my device using to much memory check the pic plz ..
am on stock Rom 4.4.2 but rooted
http://www.gulfup.com/?wLwT4r
3mmar3d said:
hi all
why my device using to much memory check the pic plz ..
am on stock Rom 4.4.2 but rooted
http://www.gulfup.com/?wLwT4r
Click to expand...
Click to collapse
Use a program like Android System Info to find what programs are running. If you are rooted just freeze the apps that are safe to freeze and you see running in the background.
xclub_101 said:
Use a program like Android System Info to find what programs are running. If you are rooted just freeze the apps that are safe to freeze and you see running in the background.
Click to expand...
Click to collapse
am already using Greenfiy and Battery Doctor .. !
Correct me if I am wrong but doesn't Android utilize ram differently then most systems. Isn't free ram wasted ram in this case.
What I have been told is that the Android OS loads apps into memory as a way to speed up processing and increase battery life and automatically empties this ram when more ram is needed. This is done to optimize performance and battery life.
So even if you might not use a certain app, its still left in memory incase u do use it and to avoid random increases in processing power decreasing overall battery life.
Sent from my SM-N900W8 using xda app-developers app
You're RAM usage is perfectly fine
what happen with the ram usage ? Is so normally .
Remember , android os system is a multitasking os.
So when you close the program it not totally close , still running in background .
Replace Touchwiz with Apex or Nova launcher, and kill as much bloatware as possible.
Touchwiz alone is 600MB.
Sent from my SM-N9005 using Tapatalk 2
balpreetsaini said:
Correct me if I am wrong but doesn't Android utilize ram differently then most systems. Isn't free ram wasted ram in this case.
What I have been told is that the Android OS loads apps into memory as a way to speed up processing and increase battery life and automatically empties this ram when more ram is needed. This is done to optimize performance and battery life.
So even if you might not use a certain app, its still left in memory incase u do use it and to avoid random increases in processing power decreasing overall battery life.
Sent from my SM-N900W8 using xda app-developers app
Click to expand...
Click to collapse
Yes, Android manages memory different way and it's stupid way to put it mildly. Unless I manually go and kill useless applications, they take up memory and many of those apps I never used and never ever will. And no matter what anybody tells you it takes time to clear memory for new programs to load and defragment it. Primary reason I had to root my phone to fix this idiocy and freeze or delete all the bloat since I was tired to force stop dozens of apps after each reboot. I won't even go into all other issues like when those programs run in the background wasting battery, use internet, or wake the phone from deep sleep.
And how on Earth loading and running never used apps in background optimizes performance and battery life?
Part of the reason they do that is "just in time" compilation, another stupid idea, which they just tried to fix in KK.
Just like others suggested OP could root and freeze/delete all the garbage he doesn't use and surprise, surprise the phone will run faster and battery will last longer.
You don't need to root to remove most of the bloatware. I didn't, and mine averages around 1.2GB in use with Firefox, Facebook, Whatsapp, LWP, Zooper, Twitter and Gmail open. It boots to 700MB in use.
Hi all!
Just an idea, would it be feasible to use say 2GB of RAM for a drive used to store pictures on, for even better performance? Or is the UFS 2.1 just as fast?
This is an idea for a custom ROM feature, hence the chosen forum section!
Kind Regards
TwinAdk
LPDDR4 is much faster, But as we know RAM is a volatile memory and what ever you do goes puff!!!
Unless we create a dump of the ram when rebooting/shutdown-ing
shazzy1 said:
LPDDR4 is much faster, But as we know RAM is a volatile memory and what ever you do goes puff!!!
Unless we create a dump of the ram when rebooting/shutdown-ing
Click to expand...
Click to collapse
Good point! Possibly create a control panel to control the usage of the ram drive, and have the content moved from RD to defined destination when the app that saves the data (camera app, download manager, Chrome, Firefox, etc) is no longer in focus?
And then symlink between locations so the system is left clueless :good::victory:
Great ideas here!!
Sent from my NEM-L21 using XDA Labs
LOL! Almost the same question, 30 minutes earlier...
https://forum.xda-developers.com/oneplus-5/help/best-to-extra-ram-t3625570
Linux probably supports RAM drives out of the box, so I doubt it would be that much work.
What the heck are you doing with pictures on a phone that you require better performance than UFS 2.1?
Chaleman said:
LOL! Almost the same question, 30 minutes earlier...
https://forum.xda-developers.com/oneplus-5/help/best-to-extra-ram-t3625570
Click to expand...
Click to collapse
Yeah, though that's general cache thoughts, this is the creation of a drive, usable by any app, or the user Great minds think alike!
ABotelho23 said:
Linux probably supports RAM drives out of the box, so I doubt it would be that much work.
What the heck are you doing with pictures on a phone that you require better performance than UFS 2.1?
Click to expand...
Click to collapse
I'm just thinking of the write speed that will increase. Then the content can be loaded off the drive when the user is leaving it idle. It will give an even better experience when writing stuff to disk. Do you see the potential that the users write command is done instantly, so the user can move on with things. The system can then handle the offload in the background when the user do not have to wait
I would love that feature!
Kind Regards
TwinAdk
Sent from my NEM-L21 using XDA Labs
Not sure if swap is still in use, but on my old Xperia (and a couple of others) swap was created as a RD and supposedly it helped a lot. With a beast like OP5 though not sure if that would help and if this is still in place and used .. I stopped following a couple threads when I broke that Xperia so kind of digging from memory
caki25 said:
Not sure if swap is still in use, but on my old Xperia (and a couple of others) swap was created as a RD and supposedly it helped a lot. With a beast like OP5 though not sure if that would help and if this is still in place and used .. I stopped following a couple threads when I broke that Xperia so kind of digging from memory
Click to expand...
Click to collapse
On older phones I guess RD makes more sense, but as long as RAM is faster than disk (and you have RAM to spare) RD makes some sense :silly:
Sent from my NEM-L21 using XDA Labs
caki25 said:
Not sure if swap is still in use, but on my old Xperia (and a couple of others) swap was created as a RD and supposedly it helped a lot. With a beast like OP5 though not sure if that would help and if this is still in place and used .. I stopped following a couple threads when I broke that Xperia so kind of digging from memory
Click to expand...
Click to collapse
Swap created as ramdisk? That doesn't make any sense. Mounting a ramdisk as swap is worse than useless.
davfiala said:
Swap created as ramdisk? That doesn't make any sense. Mounting a ramdisk as swap is worse than useless.
Click to expand...
Click to collapse
it does, if you use compression to sort of extend the size of the memory. If configured properly, it might bypass android's swappiness, but still keep the app's data in RAM for faster switchover. Not the most elegant solution, but it just might work. With so much memory that the OP5 has, that it can't really exhaust it, it's a bit pointless.
TwinAdk said:
On older phones I guess RD makes more sense, but as long as RAM is faster than disk (and you have RAM to spare) RD makes some sense :silly:
Sent from my NEM-L21 using XDA Labs
Click to expand...
Click to collapse
yeah, agreed, was just thinking aloud. I don't see that much into the internals of Android, but as you said earlier, some sort of quick cache might be worth a shot.
Running a ramdisk as a mount for /tmp is a common trick on Linux to make processes that write a lot of tempfiles run a bit faster. I don't know how Android handles tempfiles, but if it stores them all in one place like on GNU-style systems in should work as well. But I suspect not many Android apps write tempfiles anyway...
TwinAdk said:
Yeah, though that's general cache thoughts, this is the creation of a drive, usable by any app, or the user Great minds think alike!
I'm just thinking of the write speed that will increase. Then the content can be loaded off the drive when the user is leaving it idle. It will give an even better experience when writing stuff to disk. Do you see the potential that the users write command is done instantly, so the user can move on with things. The system can then handle the offload in the background when the user do not have to wait
I would love that feature!
Kind Regards
TwinAdk
Sent from my NEM-L21 using XDA Labs
Click to expand...
Click to collapse
Of course the write speed will increase. But for pictures, would it not be negligible?
ABotelho23 said:
Of course the write speed will increase. But for pictures, would it not be negligible?
Click to expand...
Click to collapse
Yes, it would be :laugh:
Sent from my NEM-L21 using XDA Labs
using tmpfs would be much easier than a ramdisk.
off the top of my head you would need to work out a few things
if you wanted it to be 'persistent' you would need to run some kind of scheduled rsync or background process to sync the data (lsync) to a dir on the ufs filesystem
either way you open yourself to data loss if during the scheduled window, or during the lsync, the phone reboots or crashes
you would also need to write an init script to create the tmpfs mount and sync back the data from the ufs filesystem
What would be a good candidate for 'ultra fast data'? Maybe the dir the camera stores files? What about the cached data each app stores?... you would probably have to limit this to a certain set of apps because you could run into an issue with space depending on how large you make the tmpfs mount...is that even something possible? I can't remember I haven't look at where the cache is stored
A memcached style setup might be nice... But that's probably similar to how the "app priority" feature works.
I'm actually looking for a way to create a ramdisk on my OnePlus 3T.
Is there any detailed description/explanation of how to make one or if there are any apps available that can do it for me?
Respond asap.
LOS ER said:
I'm actually looking for a way to create a ramdisk on my OnePlus 3T.
Is there any detailed description/explanation of how to make one or if there are any apps available that can do it for me?
Respond asap.
Click to expand...
Click to collapse
Sorry to bump up old thread, but maybe other are googling and directed here. So I better post my finding here and maybe other can benefit.
I have been searching for the holy grail for so long and finally found it. I am using RN5 whyred and trying to reserve 100 MB RAM for temporary storage and file processing for my Automagic flow. It is meant to reduce write cycle on the emmc. I have been trying to mount tmpfs on the /storage/emulate/0 and found out not working, the file still stored on emmc. Because I tried to reboot and the file still there.
I am currently using custom ROM AEX 6.7 Pie 9.0. When I use command mount, I can find tmpfs is mounted on /storage/self. So I thought to create a new folder inside it and chmod 777, /storage/self/ramdrive. Then I copy file to it using MiXplorer. And the speed is amazing.
I then check on the command free | grep Shmem
The size is increasing, means the RAM is being used for the storage. Deleting the file will reduce it, so it is working !
Testing copying file to internal storage, 750 MB takes about 12 seconds, while copy to the ramdrive takes about 5 seconds. Leave the file at ramdrive and restart the phone, the file disappear. So it is confirmed that the file is stored at RAM.
So for other, if you want to mount ramdrive, you need root. You need at least terminal emulator. But MiXplorer with root access can also create the folder. Try to check your tmpfs file first using
Code:
mount | grep tmpfs
I found several and use /storage/self. So I create additional folder there
Code:
mkdir /storage/self/ramdrive
chmod 777 /storage/self/ramdrive
This folder disappear at every reboot, so I use Automagic startup to recreate it at every reboot.
I then point my flow to save or process file at that path. By default the limit is half from the total RAM, which is 2 GB from my 4 GB RAM. I am thinking to find the script to limit the size, but rather than playing with the mount script, I better disciplined my flow to not store too much here.
Using the ramdrive, now I can lavishly store and delete temporary file there without worrying reducing my emmc lifespan.
I know, topic is old... But I found this discussion while searching for a solution to my problem, which is as follows:
I want to run a Dos emulator on my android device (to play windows 3.11 and dos games). I will do it with Magic Dosbox or even Limbo PC Emulator.
Point is: given the poor lifespan of sd cards and internal storage of mobile devices, it would be great if I could run such DOS "virtual machines" on ram disks, to avoid degrading the mobile's storage with all the read/write methods on the disk image (in case of Limbo) or in the folder (in case of Magic Dosbox).
So, I ask:
a) do Magic Dosbox have this feature? (I didn't find it on the documentation)
b) can I prepare a ram disk before running Magic Dosbox, to load a specific folder content or a specific disk image?