Memory Leaks - General Topics

Do you know some tool that can be ran sporadically, able to perform some sort of garbage collection, in order to minimize the memory leaks of WM05 and other apps?

The latest version of memaid has a feature called "Reclaim RAM", but from what I read its practically useless.
Still, you can't know till you try.

it's not true memory leaks the system know where the ram is and which minimized process is using it
and will reclaim it if another process is started which need more ram

Excuse me Rudegar, but did I understand you correctly:
There is no such thing as memory leaks no WM5?
If that's what you meant than I am sorry, but you are very wrong. No windows system up to date has automatic garbage collection, and if a programmer is not careful, I is easy to "full" the system in to thinking the app still needs some memory after it exited.
The lousiest example I encountered is the comm manager on the Jamin (see my ROM version in sig). It leaves about 1mb more after I close it (from setting->system->memory) than when it started. Also it refuses to fully close when I click 'exit' and I suspect the two problems are related.

of cause i'm not saying there is no such thing as mem leaks
on any os or 3th party applications
what i say is that ppl should not confuse it with the way that pocketpc's always minimized applications rather then close them so they start faster if the user want to start using that application once more

sktools, Pocket Mechanic, memmaid have Ram cleaning tools, Not sure if or how they work.
Both have trial downloads of handango.

http://www.oxios.com/memory/
read about this one not sure if it's any good but it's free

Related

Is there a software tool to free up RAM in WM5?

Hi all, I know about SKTools comes with "Free Up RAM" but I just want "Free Up RAM". SKTools seems to mess my device up (Dopod 818Pro).
Any ideas???
Thanks all!!
voyager
MemMaid and SpaceReclaimer both support WM5.0.
Hi Leek, Thanks for the info, however neither of these is what I'm looking for (or at least I think I'm not looking for them). SKTools has a "Free Up RAM" one button operation that literally kills RAM sucking dll's and such and can reclaim up to 2MB of RAM. I have MemMaid and like it a lot but unless someone can point in the right direction if MemMaid can do this I would certainly appreciate the help!!
Thanks!
voyager
Try this Smartphone Application, works wonders!
http://www.oxios.com/memory/
Valk Space Reclaimer is "one-button", in a sense -- you just have to run it, and it can stop all programs, free memory, etc.
MemMaid offers more options, more fine-tuning control, but is also more dangerous if you don't know what you're doing with it
Space Reclaimer is easier for novices to use, requires almost no setup, and it can be programmed to automatically exit after running. It can also be programmed to run automatically after soft reset.
I have no idea about the relative effectiveness of these programs. I know they both free up memory, because I've used them successfully, freeing up as much as 3 MB in one run.
I have not tried Oxios Memory, but it doesn't appear that it's been released for WM5 yet (there's an alpha version on the web page).
RE
Oxios Memory works fine on my QTEK 9000 (aka Universal) running WM5 :lol:
Oxios memory 1.40
New release of Oxios memory 1.40 - now states is PPC and WM5 compatible. Hibernate works well on my device and I have set it to start on wakeup using the notification queue method. However Closeapps has a bug where it sends windows media player into some sort of intro mode! So I only use hibernate.
most memory actually goes into caching windows fonts and last known state...
kinda like when u play text twist or bejewelled and u quit the app [ or so u thought ] and when u do open it again, it will still revert to the last known state...
such cache will take up memory
ie more apps opened and closed, more cache memory..
only way is to reboot the ppc.
Memmaid 1.72
It is only the new version of memmaid that comes with the "Reclaim RAM" program. It is a separate program that installs with the same CAB. I have run it several times, including when my memory had fallen by about 10MB in spite of the fact that nothing was currently running, and Reclaim RAM said there was no memory to be gained. A soft reset regained the 10MB. So my unscientific impression is that this program does nothing.
Soft resets, on the other hand, do a great job.
You are absolutely right. MemMaid 1.72 free up RAM does nothing on my I-Mate Jasjar no matter how low the program memory has gone.
Maybe they will release a bug fix.
Regards
I can confirm too on a MDA Vario MemMaid v1.72 Reclaim Memory does sweet FA! Zilch! Nothing! Useless non-working feature!
Well.... another confirmation....
I've tried oxios memory and memmaid's free up ram feature...
They both are almost same in the result, i.e. sometimes they free up upto 1.5 MB of space and sometimes, nothing.
Even when the memory drops to something like 50% of normal, with no programs running, still these programs don't do anything to warrant their install. Have given up using either as a soft reset works wonders.
P.S. I have a Tmobile MDA compact II (Charmer) and have just two days ago updated the ROM from tmobile website. Seems to work much better and has more RAM too (even with activesync running in background as it usually keeps doing).

How can I restore program memory?

Hello there.
I´m a happy TNT 5.0 ROM user, and I was wondering if anybody can point me in the right direction about the restoration of the free program memory.
The software:
I´m actually using three different software applications to restore the program memory to it´s higher free memory, they are:
1. PBar - A small free task manager that I use to close all the applications running.
2. Oxios CloseApps - A small free application that came emmbedded inside TNT 5.0, to close all the applications. Actually when I run this after closing all applications with PBar, I still can get some free memory back.
3. Oxios Hibernate - Another small and free application, also from TNT 5.0, that sends a small command to all applications to free memory.
4. TaskManager: An application to check running process and memory.
So this is what is happening:
I softreset the device and get about 28.3 mb free program memory, but for the tests, it get´s down to 26.36mb as i´m using a screen capture software and task manager (Picture 1.
Then I play with the device for a while, opening applications, looking at big pictures, playing music, connecting to the internet using gprs and wi-fi, using windows live messenger, and then, closing everything again using the stated software in it´s order (1, 2, 3). By using each software, I get some free memory back, but still can get the memory that I get after a soft reset but only 24.58mb free.
As you can see on the attached files, the main difference is the memory that´s being used by the main 4 process, but still the difference is only 1.062 kb and as stated under the clock, there are still more than 700kb of memory that somehow got lost in the middle.
There´s one more process running on the "after playing" image, but it´s way under 10k, so it shouldn´t matter at all.
Actually when typing this thread, i received a call, and then the process called cprog.exe stoled some more free program memory that I can´t get back using neighter of the three applications stated above.
Anybody know how to deal with this? It´s possible to get near the same free memory back as the one you get after a soft reset?
One memory eater app
One of the most program memory vanisher applications, seems to be Windows Live Messenger, as after a soft reset, and then using it for a while, and even after closing all applications and sending hibernate and kill commands to everything, I ended up with almost 3.5 mb of free program memory lost in the process...
Where is all that free memory going?
Can I get it back somehow without needing to softreset?
Is there a good Application killer that does the trick?
Anybody?
there is a small memleak in tnt 5, i noticed it too, but all in all its still a great and fast rom, with neatly arranged apps

Creating Pseudo "Fake" Program Memory

My company just released a new addition of windows mobile (WM) based software. Before the release I decided that I would "anticipate" the release by purchasing an used HTC Mogul which the seller of the phone had installed WM 6.1 professional. Little did I know that my company requires 25 MB of program memory to be available when installing the software. I followed many of the suggestions made in other forum threads about "cleaning up" program memory but at best I couldn't get above 24 MB of program memory (i.e. oxios hibernate & MemMaid included). You can see how close I was, but I can't install this software without having ActiveSync running as well. Here are my questions:
1) Is there anyway to get the HTC Mogul program memory to be more than 25 MB? Total memory is almost 47MB. Does the system really take up that much program memory?
2) Is there any type of program that I could install that would show more memory than actually exists? Like a "Pseudo" program memory creating program.
What stinks is that my company requires you to activate your phone using desktop software while in activesync. My phone meets all minimum requirements but program memory. Anyone?
I suggest (though i doubt it's possble) you search for a CLEAN rom for your titan..
the cleaner the better
flash it and hope it will use less program memory.
about the fake app.. i never heard of one.
I used to use MobileSwap on my Dell Axim X51v. It creates a swap paging file on the SD card just like Windows does. That was well over a year ago, I don't know if it's still being updated or anything, but it ran on WM5 fine, should be ok on WM6
-crobs808
If you can't get a clean rom, why not just temporarily patch the program to run in 24mb rather than 25mb? It must be a hefty app to need all that ram, but does it really use 100% of the 25mb?
V
Please let me know where I can get MobileSwap
Please let me know where I can get MobileSwap. I searched the web, but could not find it. Thank you.

Memory leaks?

My Cappy starts with about 165mb of free RAM, but it quickly goes away as I use apps. I have Task Killer installed and set to kill apps every 30 minutes, but once I get down to about 90mb of RAM it is impossible to get anywhere near what I boot with free. I'm used to memory leakage on my WinMo phones, but this is way worse. I had CleanRAM on my Tilt 2 (from XDA) and it worked pretty good and allows scheduling. Is there a similar app for Android?
I'd get rid of Task Killer, you don't need it.
its not leaking memory...it handles memory differently than windows of yore....stop fretting about how much memory you have available and just reboot your phone once every few days....thats not needed, but if it makes you feel better to look at useless numbers...
Yeah you need to stop looking at this as either a windows pc or an old device (think g1). Get rid of the task killer and never look at how much free ram you have again. Its not important at all. I've had this phone for months and I literally have no idea how much ram it uses on average because I have never checked or cared. My phone has been running smooth since day one. Yours will too.
Sent from my SAMSUNG-SGH-I897 using XDA App
Available RAM is a useless number? Having unused apps continue to run in the background is nothing to worry about?
Does anyone have anything usefull to respond with?
Miami_Son said:
Available RAM is a useless number? Having unused apps continue to run in the background is nothing to worry about?
Does anyone have anything usefull to respond with?
Click to expand...
Click to collapse
If you look at Window 7, there is a concept called pre-fetch. This allows the OS to load the programs into memory based on past usage, and frequency of usage. This lets us open the program much faster, than fetch when requested. This info is loaded to memory, and kept there, until some other program comes in that needs more memory.
And just 'cos a program is present in RAM doesn't mean it would use CPU.
And, based on my observation of android, I see that I have close to 180 MB free when the phone boots up. But this quickly reduces to around 120-150 in less than an hour based on what I use. After like a day this I see that free RAM is about 80-120 MB. And even after 3-4 days of no reboots, the free memory is still present at the same 80-120 levels. I am not sure what kind of memory management android uses, but its very effective, and never caused any noticeable lag in the system.
And, I do not use any task killers, not free up RAM in task manager.
Your concerns are flawed in the fact that the Linux kernel handles memory different than what you are used to. Simply speaking, Linux keeps memory used by applications on need to basis. It keeps it loaded until something else needs to use it. It will take from something else at the required time. A system actually performs faster when there is less memory available because that means that applications are able to be recalled quicker. It's not like it can only load from what is left available.
You will also notice that many applications take up memory but are using 0 CPU. This speaks to the fact that it simply loaded into memory and not taking up resources required for other operations.
Sent from my SAMSUNG-SGH-I897 using XDA App
Lot to learn about this Android, I see. So, why are there so many task killers on Market and other RAM-related programs if it is not important? Should I really not be concerned when I see a program I hardly use being shown as running on startup?
Miami_Son said:
Lot to learn about this Android, I see. So, why are there so many task killers on Market and other RAM-related programs if it is not important? Should I really not be concerned when I see a program I hardly use being shown as running on startup?
Click to expand...
Click to collapse
When I got my android phone, the first thing I did was put up things like task killer, start up auditor, etc. But as weeks passed, I realized these were more of deteriorating performance, than improve it. So got rid of them. Android can handle itself.
Autokiller optimises memory by changing values in android rather than kills apps. I reccomemd it, definately makes the phone faster. Set it to agressive.
Sent from my GT-I9000 using XDA App
Miami_Son said:
Lot to learn about this Android, I see. So, why are there so many task killers on Market and other RAM-related programs if it is not important? Should I really not be concerned when I see a program I hardly use being shown as running on startup?
Click to expand...
Click to collapse
It started with the combination of old versions of android (think cupcake and doughnut) and phones like the G1. Older versions didn't handle ram as well as they do in eclair and up. If you combine this with the fact that those older phones had less ram, and likely didn't use any gpu acceleration (unsure of this though), then task killers and other programs were considered necessary to get a fluid feeling experience.
They are still in the market now for 2 reasons.
1. Because some people still have those old phones and still run old versions of android. (less likely)
2. Habit. If people are used to using them and tell others they are necessary because they've always worked, why would a developer pull his money making app from the market? (much more likely)
So when Pandora or Grooveshark freeze, which happens all the time, and leaves my phone utterly useless until they're done doing whatever it is they're doing, how is using a task killer to...kill the process...not useful? It's much faster than rebooting the phone. I also think it's much faster than going into each application's individual settings to use the 'force stop' command. Is there a different way to kill a stuck app other than these methods?
Miami_Son said:
My Cappy starts with about 165mb of free RAM, but it quickly goes away as I use apps. I have Task Killer installed and set to kill apps every 30 minutes, but once I get down to about 90mb of RAM it is impossible to get anywhere near what I boot with free. I'm used to memory leakage on my WinMo phones, but this is way worse. I had CleanRAM on my Tilt 2 (from XDA) and it worked pretty good and allows scheduling. Is there a similar app for Android?
Click to expand...
Click to collapse
Along with what everyone else said, remember that a memory leak is a LEAK, something that is continuously draining, not a one-time thing. So, if memory goes to 80MB free and holds, that's not a leak, that's simply memory that is being used. If free memory drops to 75, then 60, then 55, 50, 45, and so on, then you have a true leak to worry about.
Well, what we Windows Mobile users often also refer to as leaks is the bad habit of some apps to not release their memory when closed. For instance, a program that carves out 25mb of RAM when started and returns less then half of that when closed.
jaju123 said:
Autokiller optimises memory by changing values in android rather than kills apps. I reccomemd it, definately makes the phone faster. Set it to agressive.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Anyone else know much about "Autokiller"?
i used to use a task killer with my G1, and continued to do so with my captivate but i saw a few things like this: http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/ and decided to get rid of my task killers and my phone seemed actually a little faster and seemed my battery life increased.
matt310 said:
So when Pandora or Grooveshark freeze, which happens all the time, and leaves my phone utterly useless until they're done doing whatever it is they're doing, how is using a task killer to...kill the process...not useful? It's much faster than rebooting the phone. I also think it's much faster than going into each application's individual settings to use the 'force stop' command. Is there a different way to kill a stuck app other than these methods?
Click to expand...
Click to collapse
It is useful in those situations but realistically when people give that argument they are just looking for a reason to keep it. Android has the ability to kill tasks built in. If you're on 2.1 then yeah it's buried deeper in the menu but not a big deal. I can't imagine an app freezing enough to warrant having a task killer for. If you're on 2.2 it's much more easily accessible.
When we talk about task killers we're talking about people using them to kill open tasks that aren't causing issues simply to see more free ram available.

[Q] strange ram available

Hello everyone
i have noticed something strange about the RAM available, if I go into settings-applications-services running: ram, 211 MB used 80MB free.
If you instead use Android system info I see: 37 MB free RAM
Why this? I have 2.3.4 stock
sorry my bad engish
try terminating cached programs. also, remove unnecessary apps. dont use task killers/managers etc. they are unnecessary. linux is smarter than us. dont use security services unless you frequently visit suspect sites and dl apps w/out research. see which programs are consuming ram and search for solutions. last resort, hard reset. if it persists or low ram issues arise when stock, time for a new one. good luck.
The nexus S has 345MB for the OS and apps, rest is used by the hardware (mostly by the GPU), you will never have access to it.
Your situation is perfectly fine, the biggest memory hog is the browser. I recommend auto memory manager (free on market) and set the empty application line to 80mb.
The services are killed automaticly by android, no need for task managers, but the limit is set to 80mb instead of 24mb. You will still run into memory leaks eventually, but not really at 30mb left.
Thanks to all
I do not use task killer, using linux for 4 years , i try Auto Memory Manager. see if the situation improves.

Categories

Resources