Is there anyway to prevent this? I am using a program that will close automatically after using a couple programs...
http://benhirashima.com/software/
Due to the way Windows Mobile manages memory, you may find that if you have been using a lot of different programs on your phone, or doing something that requires a lot of memory, that Windows Mobile will automatically shut down TxtMan without warning. It does this to free up memory for whatever you're currently doing. Unfortunately, TxtMan won't receive SMS messages after it's been shut down. If you've been doing a lot of work on your phone, you should check to see if TxtMan is still running.
Click to expand...
Click to collapse
does anyone have any info on this and maybe a registry setting to prevent it?
WM just frees memory. You can do nothing with this, except soldering extra RAM chips
there is also 32 program limit. if you have too many programs open, the last used will be closed anyway, having more memory will not help. trust me on that one, I have 128 Mb RAM and WM5.
The programs can ignore WM_CLOSE, which enlongates livetime. But if memory becomes too cluttered, Windows will kill the program anyway.
The idea was to do something like Palm, where a program exits to a saved state when it's left (there is no multitasking) and continues there when restarted. The "smart minimize" feature (programs aren't closed but minimized until memory runs low) would have been a speedup, and allowed programs to do some background stuff while there's enough memory and CPU time. With small organizer apps like Contacts, Appointments, PocketWord, etc., this would have worked quite OK...
However, since PPCs became more and more "small PCs" instead of "better organizers", programs grew in CPU and memory usage, required to stay alive (e.g. multimedia players, navigation, ...), and task managers like WisBar became a "must have". And the automatic close mechanism became an unwanted legacy...
Related
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.
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.
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.
I always have problems with WM5 memory management, which led me to experiment more on some free apps out there. This is a personal trick I just recently learned from all the AKU 3 versions that are coming out that I have been trying out and would like to share with everyone.
I will attach OXIOS Memory CAB file below my post, you need both Oxios Hibernate and Oxios Close Apps for this trick to work.
This is the theory for the increase of memory: basically what I wanted to happen is to only have 1 application running in the background no matter what. Thus, opening another app automatically closes the other app, even just pressing the OK button. Just like what a Palm device does with regards to application handling.
One draw back though, you are eliminating the ability of the WM5 device to run multiple applications at the same time.
OK enough of the explanations, here is what you have to do:
1st: Download the copy of OXIOS apps I provided.
2nd: Run the CAB file to install.
3rd: Go to Windows>Start Menu>Programs>Accessories.
4th: Copy the shortcuts for both Oxios Close Apps and Oxios Hibernate.
5th: Go to Windows>Start Up.
6th: Paste both Oxios Close Apps and Oxios Hibernate.
7th: Perform a soft reset.
Basically this would make WM5 behave like a palm device. You can now only open one application at one time, thus ensuring you have enough memory for your current application to run.
You don't even need to close any app anymore manually, since it is done automatically for you now.
There are some exceptions to this however and they are:
1: Contacts Application
2: MMS Application
3: Calendar Application
4: Phone Application
These 4 apps can be opened all at the same time without closing automatically, a good thing because you want them to work together when sending messages or files. Plus, you also want the phone ON at all times.
Good luck and let me know if you prefer this solution or suggestion.
hmmm...
I don't like the idea of not being in control of my device...
I've been happy doing it manually with Magic Button, and since yesterday, Wisbar Advance 2.
I think the extra tap is worth it!
that's great, maybe it's good for me, thanks for your cab file.
i tried these apps before, but not in this fashion. it never really fully recovered all the memory that it was trying to recover.
is there still a gradual memory leak, or does this manage to retain the full amount of memory after each closure.
i start with 29 - 30mb, it drops to about 18mb, so I reset it. does this stop the memory drop and reduction and totally reclaim the memory on closure of every app?
simon_darley said:
does this stop the memory drop and reduction and totally reclaim the memory on closure of every app?
Click to expand...
Click to collapse
No, unfortunately, but based on using them on the latest AKU 3 ROMs, Oxios apps are getting better in recovering the lost memory.
thanks! will think about installing this. currently, im just using memmaid's reclaim ram plug in. Im not sure if it's just placebo but it works somehow..
I am using aserg windows mobile 6.1 rom and I have noticed a creeping problem. As time goes on, I can only seem to run 1 substantial program at a time.
For instance, if I try to run any of these programs in tandem:
HTC audio manager or Windows Media Player
Mundu mobile messenger
Opera
Internet explorer
Dictionary software
Outlook mail (sms/email)
Skype
the program in the background always closes. This is especially annoying when for instance I am listening to music and I get an email or sms, I go to check it and my music player just closes. Same if I try to browse the web and listen to music or check an sms, It is very annoying.
What causes this function in windows mobile and how do I turn it off?
As for memory, when I start I have 13-14 megs free memory. Any of these programs take an absolute MAXIMUM of 4-5 megs at peak usage. I should be able to run at least 2 together without a problem, and if another one does nto have enough memory, it shoudl just say so and not start, but not close out other programs...
I also have about 4-5 megs of free storage space on the phone.
any ideas on this one?
It seems as time goes on, I can't seem to run any more than 1 program simultaneously...
Reduce the amount of file space your browser have allotted for cache files and history.
My browser cache for both Opera and PIE are both pointed at the storage card which has about 500megs free. This problem occurs even if I am running any programs though, not just browsers...
It's either the memory shortage (which some of those programs can actually take much more than 4 or 5 mb to run.) Or you have it set to close on tap, within the task manager/x-button, instead of close on hold.
I use batterystatus, and it is set to tap and hold X to close, but I never use the X, I simply go to the start menu and open another program, then when I try to switch back to the other program, it is closed already.
How do I check if it is a memory problem?
For instance, if I run HTC audio manager, then get a message, I click reply, then after about 3 seconds into my reply HTC audio manager closes.
is there any way I can "force" the programs to stay open? Even if I were to launch a new program and it does not have enough memory, it woudl just not open rather than closing an existing open program...
To me, it sounds like you are running out of RAM, and programs that were running in the background are automatically closed. I'm not affiliated with Windows Mobile and hence not an expert, but I believe this (closing previously open programs rather than the new one) is the expected behavior in WM. Imagine getting a phone call and the phone app not opening since there's not enough memory because the OS didn't automatically close background programs...
I don't know of a way of changing the memory management behavior, but maybe someone else here does? I'd argue that you wouldn't want to anyway.
I'd suggest that you DO use the X button to close programs, otherwise I guarantee you will run out of memory and things will close automatically anyway. The difference is you won't have any say in what gets closed at that point. I added programs that I don't want to close with the X button (like Live Messenger) to the exclusive programs list in the Task Manager.
Second, I'd suggest you take any steps you can to increase your original pool of memory.
Darren, I understand your point, but it seems as if I have plenty of memory, and I can only run 1 program at a time. I don't mind so much the behaviour, it is just at the point of being ridiculous when I can only run 1 program at a time.
So you think that starting with 13-14 megs of free memory is not enough? How would I go about increasing this original pool of memory?
Also, even it I use the X button to close programs, that does not solve my problem anyways, whichever program is not in the foreground seems to close by itself anyway...
phony, I understand your frustration. I have had low memory problems myself, and I know that programs running in the background will close when that happens. That's why when I read your post it sounded like a memory issue to me.
I ended up tweaking a few things to try to get more free memory, like not running certain processes or services automatically at startup. I'm not sure if it is relevant to the ROM you are running, but see http://forum.xda-developers.com/showthread.php?t=312312.
This is definitely a memory problem. When the free program memory is lower than about 1MB (don't remember the exact number), the WIndows Mobile will send a WM_HIBERNATE to all the running program to release all the possible resources. If the memory goes lower, it will broadcast another message called WM_CLOSE to close all the background apps to release more memory. The only reason for apps that close on themselve is either low on mem or there are some apps in the background (maybe a virus) sending WM_CLOSE every now and then. To be honest, to have less than 15 megs of ram to start with is NEVER enough. Try to change the pool size if you don't like any of the great roms here. Hope this help.