PDA

View Full Version : Programs closing on their own


phony
16th August 2008, 04:52 AM
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?

phony
16th August 2008, 09:50 AM
It seems as time goes on, I can't seem to run any more than 1 program simultaneously...

Kar98
16th August 2008, 03:18 PM
Reduce the amount of file space your browser have allotted for cache files and history.

phony
16th August 2008, 04:01 PM
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...

ivanmmj
16th August 2008, 06:59 PM
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.

phony
17th August 2008, 12:22 PM
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...

DarrenUtd
17th August 2008, 07:12 PM
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.

phony
18th August 2008, 05:54 AM
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...

DarrenUtd
18th August 2008, 06:46 PM
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.

live4nothing
18th August 2008, 08:56 PM
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.