An app that clears the memory? - Windows Mobile Development and Hacking General

Is there a software or script that could be started first in a boot that would clear the memory?
some of the roms that have the 6 button homplug and the Touch Cube seem to have problems with frezz on bootup after a SR
I have been trying lots of things to find a solution but have come to the conclusion that somehow the memory does not get cleard on SR always

I think you have to identify what's causing the problem. Soft reset should clear volatile memory. There may be temp files lingering somewhere that are causing the problem, that need to be manually deleted etc.
V

Try Dinarsoft's Memmaid

I've always used Oxios Memory. Even after a Soft Reset it clears up more RAM.

iabaligod said:
I've always used Oxios Memory. Even after a Soft Reset it clears up more RAM.
Click to expand...
Click to collapse
Oxios Memory is awesome and the two exe's are only about 5k each so doesn't eat up alot of space.
It's also freeware which is always a plus.

Related

Storage memory always LOW

how to make storage big space? although installed in SD memory, storage memory always low.
This could be a result of the number of programs you have running in the background. Check your Running Programs and see if you have lots of unnecessary programs using up your memory.
Still happened
Xilicon said:
This could be a result of the number of programs you have running in the background. Check your Running Programs and see if you have lots of unnecessary programs using up your memory.
Click to expand...
Click to collapse
the problem is when ever I installed program, I never installed to phone memory. I only installed into my SD Card.
Re: Still happened
hartunnoo said:
the problem is when ever I installed program, I never installed to phone memory. I only installed into my SD Card.
Click to expand...
Click to collapse
It doesn't matter where you are installing them; if you have them running in the background they still need memory
Just check your running programs. On a desktop PC when you minimize a program they go into your taskbar, but in Pocket PC they just hide themselves in the background. Its a common misconception that the "x" in the upper right hand corner of the screen closes the program; all it does it minimizes it. Or atleast most of them, some programs a actually very well designed and actually "close". At any case, use the "running programs" utility that came standard with your Magician to see how many programs you have running - it's actually quite amazing what you'll find.
I have a similar problem but mine starts at 20mb free after soft reset but after each sync (disconnect and reconnect) it drops by about 6mb until it reaches 7 or 8mb and stays there until I soft reset again?
I am not aware of any invoked programs that eat up memory when I sync and I have very little data in my sync files folder?
Suggestions welcome (except hard reset!!).
Thanks,
OB.
obarnes, That true. why after soft reset it used more memory. supposed to be free more memory.
Activesync eats up memory everytime you hook it up. That memory does not get freed up. Approx 3MB gets blocked away for every sync you do - so if you start of with 20 and you sync up 3 or 4 times then you're memory will slowly start to dissapear. This is a common occurence, the only thing I could suggest is to soft-reset 2-3 times a day. Additionally there are programs that can eliminate tiny chunks of memory being used up by duplicate processes that occur when you soft-reset your machine, they don't really effect your device; but every byte helps. The program is by Scarybear and it's called notifyclear (or something like that). I've recently did a maintenance on my device and managed to clear up almost 10MB just by moving unnecessary files and clearing up the registry and redundant junk from the machine. Hope this helps.
Obarnes,
The "memory leak" could be due to a program you have installed also. I used to face the problem because of Battery Pack Pro v.2 and havent faced a "memory leak" since I uninstalled it.

What is the best software to FREE UP RAM?!?!

I need to know what the best software to FREE UP RAM is.
I have TMO MDA, 2.17 TMO Custom Rom
The device says I have around 55% of Free RAM after soft-reset, but as the day winds down and I use programs, go on the internet, activesync etc. The ram goes away, EVEN AFTER I 'STOP ALL PROGRAMS' the ram is down to around 40% or less
How do I lose 15% RAM from soft-reset till then if I'm running no more programs at that point than I was after the soft-reset?
And more importantly HOW DO I RESTORE THIS RAM without a soft-reset...certainly there has to be a program up there that you can execute that will FREE up that HIDDEN/LOST RAM!!
Muchos gracias in advancias
I have a Magician not a Wizard but I guess it happens to any PDA.
EVEN AFTER I 'STOP ALL PROGRAMS'
Click to expand...
Click to collapse
By this you mean, using the Task Manager? If yes, I don't have an answer to your question. If no, when programs are closed they are not fully terminated but somehow are in the background.
In any case, try software like SPB Pocket Plus or some 3rd party task managers.
SK tools available from http://s-k-tools.com/ includes a stand-alone utility for freeing RAM. SK tools is not free but there is a trial available.
Yes I am using a task manager - Spb Pocket Plus - to completely close these the programs but the RAM is still gone.
I have no clue what to do...anyone?
I had a similar problem where the memory was down to a very low level.
I ran Memmaid and it cured the problem.
http://www.pocketgear.com/software_detail.asp?id=14279
Might work for you.
ram eaters
when we are on the net the clutter gets collected in temp memory and cache folders. even using other programs. closing a program is not enough, these have to cleared. inherent soft reset does the job but, is cumbersome , so Sk Tools , Memmaid will do it for you or stand alone software like free up ram, clean ramare examples. hope that answers.
Use ClearTemp to remove temporary files, cache files, and other clutter that fills up your storage memory. Use QuickMenu's Hibernate function to clear memory leaks, and use QuickMenu's settings to have programs close on a short tap, and minimize on a long tap. If you just want a stand-alone hibernate program, use Oxios Hibernate (packaged with Closeapps, which closes all running applications).
DJSinCity said:
How do I lose 15% RAM from soft-reset till then if I'm running no more programs at that point than I was after the soft-reset?
Click to expand...
Click to collapse
Some programs (nk.exe, gwes.exe) are system-required, and will experience RAM leaks, especially in home-cooked ROMs. There's little beyond what I've already said that will fix that, other than what you've already discovered: rebooting. It's kind of like expecting your home computer to stay booted indefinitely. If you try it, eventually something is going to happen that will force you to reboot.

Memory eaten away !!!!!!!

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.

HTC Mogul memory decrease over the course of a day

What is up with the memory drain on this device. I'll start the day with 24mb of memory (soft reset) and only have 10mb or less at the end of the day with no apps but activesync running. Has anyone less notice this?
hansolos said:
What is up with the memory drain on this device. I'll start the day with 24mb of memory (soft reset) and only have 10mb or less at the end of the day with no apps but activesync running. Has anyone less notice this?
Click to expand...
Click to collapse
Yea I get the same problem. Except I start off with about 20 and end up with as low as 9 before i'm forced to soft reset.
Its the magic of the Mogul's memory leak. The old rom and new rom feature it so untill a new update comes out, were stuck with it.
Does the Hermes and Kaiser have the same issue? They seem to be similar. They other thing is that the WM6 is suppose to have made those apps that leak in previous versions run at the kernel level.
my titan doesnt have the issue. its an app you've got installed. hard reset and dont install anything, you wont have the problem. troubleshooting 101. dont blame the titan.
I posted this on another forum discussing this problem, so I'll just quote myself here:
The memory "leak" thing is nothing more than a cache "optimization" in place to make the device respond snappier.
Whether it succeeds or not is another story altogether...
Basically, like any cache, it stores recent calculations for faster response later. For example, if you open and close IE alot, you might notice that the first time you open it on a fresh restart takes a little bit longer than the next times- that's because the second time you start it up, parts of it are still in memory from the first time!
You might be wondering why this happens even after forcing it closed with Xbutton or the memory settings. That's because the info stored in the performance cache aren't directly related to any one program! Many apps can use the same routines and calculations, and therefore this process exists on a processor/file system layer as opposed to a software layer, and therefore also exists even when all programs are closed!
Meaning, if I have mapopolis that uses a certain routine to access my BT GPS receiver, even after I close it, some of that routine stays in memory because perhaps Google Maps will use the same routine, and therefore respond faster!
Now, ideally, this should speed up performance, and it SHOULD disappear on its own if the memory is needed and the information goes "stale" (hasn't been processed in a while = not really needed for optimized perfomance). However, one look at the way Microsoft handles "automatically closing apps" (native X button, anyone?) is enough to know that WM can't manage its own memory very well.
I can, however, vouch for the fact that the longer you leave all programs closed, the more of your memory starts to creep back into available. I've sat and watched this happen. So, it sort of works, but perhaps not well enough if people are having low memory system crash problems.
Now, before you all start blaming MS for this... Its not Microsoft's problem. They developed CE-5 (which WM6 is based on) on machines limited to 32MB to make sure the programmers didn't get lazy with OS bloat.
Its the manufacturers who add all this file system optimization and stuff to their final device. In this case, its the way HTC thinks the system should run, which is why this anomaly is NOT as apparent on, say, a WM Treo device.
The good news is that if we complain enough, HTC might realize this optimization does more bad than good, and leave it out on the next ROM update for us.
However, truth be told, I think it works. The Mogul is one of the snappiest PPC's I've used of late, although I can't say for sure if its because of the cache or not.
This is just my personal opinion, so don't flog me! I just don't look at the memory useage anymore unless I'm having a problem, which mind you, I hardly do.
My most recent observations were this:
Soft reset gives me ~21MB (got some htc plugins), and after a day of use, making sure to close everything after I'm done, I get 18-19MB. At lowest, I hit 10MB after closing alot of apps. This memory usually comes back to 18-19mb in a matter of time for me. If for some strange reason it doesn't (can't say how often this happens), I soft reset.
All in all, I'm happy with the Mogul.
Click to expand...
Click to collapse
I wasn't blaming the Titan directly, although I wish they would allow you to adjust the memory like they have in the past. But as I've read that may having something to do with chipset of battery consumption.
I was just wondering if others had the same issue and might know of the reason.
Is there a list of known apps that cause memory 'drain' or don't clear their cache. I can understand apps caching data into memory to run faster, but they are not cleaning themselves out upon exit. The strange thing is how they continue to grow over the course of the day with no interaction.
I'm doing a hard reset to see if it get better. Add apps one at a time until I find an issue.
Ok did a hard reset. Setup Outlook to get my mail from Exchange and Gmail. Let it get synced and then did a soft reset. Started with 24mb after reset, down to 21mb without doing anything after an hour and it's still falling. The only thing running is ActiveSync. I've also removed htc_cm_guardain and ssdaemon from the startup. The only thing in startup is poutlook.
The thing I noticed when I had handyswitcher installed (before hard reset) was that filesys, device, gwes, services, shell and cprog all continously increased there memory consumption over the course of a few hours and never stopped or released it.
hansolos said:
I wasn't blaming the Titan directly, although I wish they would allow you to adjust the memory like they have in the past. But as I've read that may having something to do with chipset of battery consumption.
Click to expand...
Click to collapse
No no no... the reason you used to be able to select storage vs RAM was because it was SHARED memory! It was actually all RAM. If you had a 64MB device, that 64mb was split between ram and storage, and just like the rest of your RAM, it would wipe out when the battery died!
Ever since WM5 came along, they stopped sharing the memory, and now have dedicated RAM and Storage (using the leftover space on the EPROM chips used for the ROM image), much like a computer. This is a much better solution since you don't sacrifice your RAM for storing some large files, and you don't have to worry about battery failure cleaning you out!
Also, its not the apps that have cache, its the file system. The file system WILL actually free up some of that memory as the device is left with all apps closed for a while (maybe not all of it, but I've watched my device go from 11mb free after closing stuff to 18-19mb).
You guys need to hit the easy button on this one! It may not be a permanent fix, but there's a small freeware called Oxios Hibernate that releases RAM. I just put it on my start menu and 2 clicks....I have free RAM. Try it out, you won't be disappointed.
bam, thanks for the info... that little app rocks.
use a file explorer and go to \Windows\Startup. There is a shortcut there for a program along the lines of HTC_Guardian_cmsomething. This app is a htc app used to enforce sprint settings and runs in the background. So long as you don't destroy your phone internet settings you can just remove the shortcut. I found all my memory leak issues have gone away. I don't have any leaks when using the kaiser tab plugin.
Yes I've removed the links for HTC_Guardian and SSDaemon from startup and added them to my settings folder (if I ever need them). I soft reset to around 25mb and the Oxios Hibernate app keeps me around 24.5mb.
what does SDdaemon do?
sddaemon is suppose to be the speed dial or voice command app you get when you hit the button on the left side with the talk bubble. It loads the app if you hit the button, so I'm not sure why they have it in startup.
On my old Treo 700W, which REALLY had a memory problem, I used Oxios hibernate all the time. It works quite well.
yes, it works.
bam099 said:
You guys need to hit the easy button on this one! It may not be a permanent fix, but there's a small freeware called Oxios Hibernate that releases RAM. I just put it on my start menu and 2 clicks....I have free RAM. Try it out, you won't be disappointed.
Click to expand...
Click to collapse
you know what might help...if windows mobile had some sorta sorta disk caching feature...
that's what is causing the memory leak.
great tips. thanks.
hansolos said:
Yes I've removed the links for HTC_Guardian and SSDaemon from startup and added them to my settings folder (if I ever need them). I soft reset to around 25mb and the Oxios Hibernate app keeps me around 24.5mb.
Click to expand...
Click to collapse

what's eating my memory?

Trying to figure out what proggy's have mem leaks and are chewing my my RAM.. at reboot I'm ~48% mem, but now after some running, yet quitting everything, I'm sitting at 60%.
Task manager->Processes shows...
device.exe 4.61M
gwes.exe 4.40M
filesys,exe 3.61M
cprog.exe 1.36M
services.exe 812K
after soft-reset I see
device.exe 4.20M
filesys,exe 2.92M
gwes.exe 2.73M
shell32.exe 1.44M
cprog.exe 900k
services.exe 660K
any way to get these to be better behaved?
this is running 19701 Black and Clean pdaviet.
zim2dive said:
Whats eating my memory?
Click to expand...
Click to collapse
thats a bit personal isnt it LMAO!
you sure you're closing the apps or just minimising them? do you have an app like x-button installed that REALLY closes the apps???? Check your memory in settings and see whats running...
ultramag69 said:
you sure you're closing the apps or just minimising them? do you have an app like x-button installed that REALLY closes the apps???? Check your memory in settings and see whats running...
Click to expand...
Click to collapse
Yep, I have X-button. And just to be sure, if I go to Task Manager->Applications, nothing is shown as running.
I use Oxios Hibernate alot to keep my memory high. Before, I had to perform a soft reset at least every other day, if not every morning. Now I'll only do one once a week or two just to freshen it up. Maybe it will help you free up some memory.
It comes with Oxios CloseApps, too, but I only use Hibernate. They both seem to do the same thing.
Link:
http://www.oxios.com/memory/
dzelaya18 said:
I use Oxios Hibernate alot to keep my memory high. Before, I had to perform a soft reset at least every other day, if not every morning. Now I'll only do one once a week or two just to freshen it up. Maybe it will help you free up some memory.
It comes with Oxios CloseApps, too, but I only use Hibernate. They both seem to do the same thing.
Link:
http://www.oxios.com/memory/
Click to expand...
Click to collapse
Thanks. I've actually tried those and they don't seem to get this memory back. This AM all I did was ActiveSync and run iContact (0.6).. and I lost 5% of memory that I could not recover..

Categories

Resources