[REQUEST] Disable Windows Mobile Memory Management/Secure Apps from it - Windows Mobile Software Development

Dear experts,
Since I'm using custom Roms (with 6.5 or 6.5.x), I was asking myself why for god's sake my Browser was supposed to close in the background while I was downloading a big file or why my Windows Live Messenger is always being closed while I'm not having the focus on its window ...
Well I'm now at the point to know that Windows Mobile loves kicking Applications out of the RAM, especially when having a high memory consumption ... BUT why does it do this to apps that obviusly are supposed to be also running in the background (messenger) and also, why does it start closing applications even with more than 10% of my Ram left? I thought Ram was used to store programs in it, not to keep it empty and clean ...
So, is there ANY way to disable this "feature" that kills the possibility of multitasking? Or at least any chance to prevent Windows from always killing WLM and Opera? I already found "EverApp", but it doesn't work too nicely ... The added programs are still being closed and I cannot reopen then, as they are still present inside my memory ...
Thanks in advance!
Edit: And I totally wouldn't mind having the errors related to disabled memory management, as I have cleanram and a task manager to do that myself and would prefer it to have it that way

I am looking for a solution to this as well.
I am using an HD2 with 576MB enabled, and IMO it's unreasonable for WM (6.5.5) to close application ad libitum if I keep open:
1) tomtom
2) navicomputer
3) mortplayer
4) acr base (a background process that automatically record received and made calls)
With 576MB total ram, even with the memory taken by the OS, it's unlikely for the ram to be unsufficient to run these tasks at the same time... instead, it should be able to run at least other 2 application and have yet more to spare.
Asking the developer of the call recording software to make it into a service could be a way (and I already did), yet I cannot really have navicomputer made into a service, let alone mortplayer, and those got closed by WM as well while I was driving (imagine the trouble I had to go to start them again while holding the steering wheel, lucky me it was in a semi-traffic-jam).
Isn't there any setting to reduce the occurence of this behaviour? Has the page pool value have something to do with it in any way?
EDIT: just digged some more in the concept of pagepool. So I know what it is and how it works. Yet the mistery deepens, afailk the default pp on the leo is 15mb, some cooks set it to 22-24mb, yet very far from the ~270mb free program memory I get after boot... starting tomtom, navicomputer, mortplayer, and having acrbase in background amounts to less than 15MB of ram, go figure if it makes any sense that with 276mb starting free ram WM should close any of these apps... maybe it's all the other way, and I should have a bigger pagepool to accomodate all those applications at the same time?

pagepool is for system processes (i.e. inaccessible to you). increasing pagepool would only result in *less* memory available for your user processes, such as tomtom, navicomputer, etc.
unfortunately i have been looking for a solution to this problem for many months and it is, as far as I can tell, impossible to solve. this is, imho, the worst thing about windows mobile. they did not correctly design the core operating system and created this ugly, ugly hack to prevent the system from crashing when it runs out of memory, and as a side effect it closes your programs without saving any of their data.
an equally ugly workaround is to use XTask, and "hide" the processes that you do not want closed. you see, if they are not visible in task manager, then windows mobile does not auto-close them. they are still running and in the process list, just not the task manager list. in order to hide a process in xtask, you open up the task manager list, long-press on the task you wish to hide, and go to Other->Hide. In order to make a process visible again, you have to find it in the Process list, click on it to view its windows, and long-press on the main window of that process and choose Show. You have to do this very quickly because windows closes background tasks and not the active task, so when you open XTask, it becomes the active task and the one you are trying to hide becomes backgrounded. you have about 5 seconds to hide it before it closes. its a very convoluted process but it works. i can get my music started in kinoma, hide the task, and then open up Garmin. As long as garmin stays in the foreground everything can rock along indefinitely.

Yes, that's sounds literally obnoxious, a workaround which would be just right for a setup with an htc alpine running wm 6.5 maybe... absolutely not acceptable for devices such as rhodium or leo which have plent of resources.
I stillw onder though, I have no idea about total/free resources on tpro2, yet with ~280MB free ram, and only 15mb worth of applications in ram loaded subsequently, how can windows mobile "decide" it needs to close either one of them?
I'd like to think it was just something weird going on with that particular session, that maybe got solved after a reboot, yet I have mno way to confirm it, as I didn't need to load the same amount of applications since then

I actually have the opposite problem on my HD2 running Miri's roms -apps don't close themselves down at all most of the time, which means when I have about 5 "windows" worth of programs open (ignoring other stuff I have running as a processes), or 1 Opera Mobile 10 window my HD2 starts behaving weird and gives me errors everytime I try to start up another app unless I shutdown said memory intensive app.
Might be because I use Ameba to close down any apps I'm not using (always)... or maybe because I've set the glyph cache to 524kb like suggested in the HD2 tweak article on Pocketnow.

ephestione said:
Yes, that's sounds literally obnoxious, a workaround which would be just right for a setup with an htc alpine running wm 6.5 maybe... absolutely not acceptable for devices such as rhodium or leo which have plent of resources.
I stillw onder though, I have no idea about total/free resources on tpro2, yet with ~280MB free ram, and only 15mb worth of applications in ram loaded subsequently, how can windows mobile "decide" it needs to close either one of them?
I'd like to think it was just something weird going on with that particular session, that maybe got solved after a reboot, yet I have mno way to confirm it, as I didn't need to load the same amount of applications since then
Click to expand...
Click to collapse
The storage manager doesn't necessarily decide to close things based on free program memory (of which you clearly have a ton), but also based on free virtual memory. You only get 32 MB per process, and if you load a bunch of dll's for resource heavy applications, you can run low on virtual memory. This is a good read on the issue. You can run virtualmemory.exe with some of your apps running to see if this is the problem.

def bookmarking this thread! i had similar questions!

aussiebum said:
I actually have the opposite problem on my HD2 running Miri's roms -apps don't close themselves down at all most of the time, which means when I have about 5 "windows" worth of programs open (ignoring other stuff I have running as a processes), or 1 Opera Mobile 10 window my HD2 starts behaving weird and gives me errors everytime I try to start up another app unless I shutdown said memory intensive app.
Might be because I use Ameba to close down any apps I'm not using (always)... or maybe because I've set the glyph cache to 524kb like suggested in the HD2 tweak article on Pocketnow.
Click to expand...
Click to collapse
I'd actually LOVE to have your same "problem"
Since WM is all about "having control", at least more than what you get with other "commercial" phones, I would prefer very much to decide which apps to keep open, which ones to *manually* close to free resources.
Just like I do with my desktop pc (did, actually... since 4GB of ram are truly hard, for my use, to fill up to the critical point even starting a ton of programs at the same time)
Farmer Ted said:
The storage manager doesn't necessarily decide to close things based on free program memory (of which you clearly have a ton), but also based on free virtual memory. You only get 32 MB per process, and if you load a bunch of dll's for resource heavy applications, you can run low on virtual memory. This is a good read on the issue. You can run virtualmemory.exe with some of your apps running to see if this is the problem.
Click to expand...
Click to collapse
thank you for the enlightening reference, I was actually curious to know the real reason behind this!
EDIT: (some minutes later) really interesting read, even without the need to dive into the huge two-page article linked from that page. Now at least I *know* the cause of this, and regarding this Leo I feel like having bought a ferrari which can only be fueled with a second grade combustive which can only output 50HP when in reality the engine is capable of 200. Something which is the contrary of what I was expecting from a WM device when compared to its fashion and more commercial equivalent so dear to some.
Which leads me to be curious about aussiebum's situation, where instead he appears to be able to keep opening programs without any automatic-close behaviours. It may still very well be that in the occasion where I had autoclosing problems with only a handful of apps open and running, there was something gone wrong that was solved with a reboot, I have yet to find the time and willingness to recreate the setup

so there wont be any solution for this quite anoying bug/feature?
-.-

HD2
I have a stock TMOUS HD2 and it seems to have a max open programs set to 7 somewhere and it doesnt matter how memory intensive the program is. it does get mighty slow though!

Have any of you tried AutoClosePatch ? I made that for a similar problem on the Omnia II, I have heard of people using it on the HD2 with success (i.e., it being useful). I've never really run into this problem on the HD2 itself, though.
http://www.chainfire.eu/articles/68/AutoClosePatch_1_1_released/

Chainfire said:
Have any of you tried AutoClosePatch ? I made that for a similar problem on the Omnia II, I have heard of people using it on the HD2 with success (i.e., it being useful). I've never really run into this problem on the HD2 itself, though.
http://www.chainfire.eu/articles/68/AutoClosePatch_1_1_released/
Click to expand...
Click to collapse
Thank you for pointing us to yet another pearl of usefulness of your code
I will test it and I think I should be able to report the result in at least a week.
If the 15MB lower limit and 20MB upper limit do work on Leo as well, I think I will be able to start more applications together than I will ever need
EDIT: didn't make my leo explode, yet it didn't have the desired effect, alas. I could apparently keep starting apps one after another, then at a certain point I always got a system error notification about not being there enough free ram, and that for anything I tried starting no matter what it was, not even WM task manager. Even if I tried bringing back on top the already started apps by clicking on their icons gave the same error.
I uninstalled, restarted, and tried without it, and set battclock showing the free MBs of ram available. Well, after boot I have 270MB free, believe me or not I couldn't get lower than 214MB free, it kept closing down applications. That is just plain, utterly, abominously, scandalously STUPID.

Chainfire said:
Have any of you tried AutoClosePatch ? I made that for a similar problem on the Omnia II, I have heard of people using it on the HD2 with success (i.e., it being useful). I've never really run into this problem on the HD2 itself, though.
http://www.chainfire.eu/articles/68/AutoClosePatch_1_1_released/
Click to expand...
Click to collapse
Gonna try this to...hope with more sucess.
>edit< ....unbelievable. IT WORKS...was searching months for a working app/tweak. Thanks chainfire...Donation is coming (=
--> 6MC52681G3154311A

I might have managed to get my HTC HD2 from closing my application. I have downloaded Advanced Configuration Tool There is a section in this application called HTC Task Manager. In there I disabled Auto Kill. Only time will tell I guess.

Davearia said:
I might have managed to get my HTC HD2 from closing my application. I have downloaded Advanced Configuration Tool There is a section in this application called HTC Task Manager. In there I disabled Auto Kill. Only time will tell I guess.
Click to expand...
Click to collapse
Restored a backup, to ensure that chainfires tweaks arent present.
Ure way didn't work for me.
After the 6th and 7th opend app, taskfacade & than s2p closes.

Test that:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LowMem]
"ProgramMem"=dword:0

j4n87 said:
Gonna try this to...hope with more sucess.
>edit< ....unbelievable. IT WORKS
Click to expand...
Click to collapse
dang, you were luckier than me.
How did you test it exactly? Up until what free ram amount could you go to?
As I said in my previous post, I can apparently open as many apps as I want until the point I get the system insufficient memory error, and once there I cannot start anything at all, not even a task manager

Ham3r said:
Test that:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LowMem]
"ProgramMem"=dword:0
Click to expand...
Click to collapse
I don't even have that key... so I suppose it's not for leo's purpose

Well, you have to keep in mind, AutoClosePatch only helps when the problem is actually the free memory.
An explanation what may also be going on is here: http://www.modaco.com/content/i8000...ying-the-virtual-memory-monster/#entry1250151
What is comes down to is that the _virtual_ memory management may run into "no available memory" even though there is more than enough _actual_ memory available, and can be dependant on the amount of DLLs and executables loaded. It is a tricky subject to fully understand, but there are a myriad of reasons why this error can occur (and AutoClosePatch only fixes one, that nevertheless is often the problem). Most of these "other" reasons are due to how WM (or our base version of CE, rather) is built. Most of these issues are fixed in later versions, of course (we are now two revisions of CE farther), but unfortunately we won't see that until WP7, which, well....

Chainfire said:
Well, you have to keep in mind, AutoClosePatch only helps when the problem is actually the free memory.
[CUT]
Click to expand...
Click to collapse
whoops, yes, silly me; thanks for reminding me of that fact, I actually have delved a little into the problem of 32mb virtual memory limit under CE 5 core, which alas is the base for 6.5.x as well (and which is a different matter than "free ram"), and for an optimistic while I thought your utility could overcome that, forgetting you clearly stated in your blog that it addresses only the free physical ram issue.
But since I get auto-closing problems starting from more than 210MB *free* ram, it's definitely a virtual memory issue, so technically your patch doesn't interfere with that.

Related

Mutiple programs won't stay open on my Tilt 2

I've had my Tilt 2 for several weeks now and for some reason, I cannot seem to have more than one app open at the same time. As soon as I open a second program, it kills whatever else was running.
Does anyone else have this problem or know how to fix it? I have Auto Kill disabled...
Help!?
It also happens with my Hermes and Raphael..
My Hermes (Dopod 838 pro) running official WM6 ROM
My Raphael (HTC Touch Pro) running stock WM6.1 ROM (Version 1.9)
It's a big problem, I can't keep my Twitter,downloader, and Messenger app to run at the background..
silverfoxx said:
I've had my Tilt 2 for several weeks now and for some reason, I cannot seem to have more than one app open at the same time. As soon as I open a second program, it kills whatever else was running.
Does anyone else have this problem or know how to fix it? I have Auto Kill disabled...
Help!?
Click to expand...
Click to collapse
So let's say you open File Explorer. You press the Windows button. Now you open Word Mobile and make a new document. Now press the Windows button and go to Home. It still says you closed everything in the HTC Task Manager?
If so, that's weird... looks like you bought yourself an iPhone with a keyboard!
For some unknown reason Windows Mobile 6.x will only run a maximum of 32 processes at one time no matter how much RAM is free. This includes all the basic phone etc that's running.
Clever eh ?
That's some amazing forward thinking Microsoft did. It obviously didn't occur to them that someone might come along and release a device with a faster processor and a load of RAM.
Find yourself a process manager program, not the HTC taskmanager. While typing this I had a quick look and I am running 28.
As I recall, WinMo will close apps if it runs low on memory so the first thing I would do is reboot the phone and bring up task manager and see how much free memory you have left. Then keep watching memory as you do what you normally do with the phone. It's not how WinMo is supposed to act by default and my phone doesn't act that way so it's either an app, how you use it or a hardware fault.
markgamber said:
As I recall, WinMo will close apps if it runs low on memory so the first thing I would do is reboot the phone and bring up task manager and see how much free memory you have left. Then keep watching memory as you do what you normally do with the phone. It's not how WinMo is supposed to act by default and my phone doesn't act that way so it's either an app, how you use it or a hardware fault.
Click to expand...
Click to collapse
Lots of threads on this, and no, it's NOT memory. It's processes.
http://forum.xda-developers.com/showthread.php?t=575663
http://forum.xda-developers.com/showthread.php?t=600210
http://forum.xda-developers.com/showthread.php?t=600356
Is there any solution to break this limit?
dik23 said:
For some unknown reason Windows Mobile 6.x will only run a maximum of 32 processes at one time no matter how much RAM is free. This includes all the basic phone etc that's running.
Clever eh ?
That's some amazing forward thinking Microsoft did. It obviously didn't occur to them that someone might come along and release a device with a faster processor and a load of RAM.
Find yourself a process manager program, not the HTC taskmanager. While typing this I had a quick look and I am running 28.
Click to expand...
Click to collapse
Is there any solution to break this limit (32 processes)..
Not seen one. If you do plz give me a shout ! Don't even know if it'd be possible. To me it seems like it could be a Kernel level issue.
How can I see all running processes?
blowy666 said:
How can I see all running processes?
Click to expand...
Click to collapse
install dotfred's taskmanager.
I use everapp.. http://www.modaco.com/content/pocke...app-v0-2-application-persistence-under-wm6-x/
it installs a service which runs when u boot up ur phone and u just add w/e programs u want to everapp and it'll keep them running in the bg..great for opera 10 which never stays open for me
try everapp, http://www.modaco.com/content/pocke...app-v0-2-application-persistence-under-wm6-x/
Hi i have tried on Omnia Pro B7610 to avoid auto-closing of apps but the result is not satisfactorie, as everapp is also stopped and besides i cant launch the app (excel or word) from the shorcut after the taskmanager autoclose these. If you have some usefull information regarding this issue i will appreciate it.

wm6.5 eat RAM

Hi all, after install WM6.5, it seem the RAM is always on high consumption. even I cancel the running program, the ram still not back to lower ratio. I have tried install some FreeRam program for WM6.1 but it seems doesn't work on WM6.5, anyone have new freeRAM program for WM6.5?
HTCAddicts.com's CleanRAM works fine in WM 6.5 (www.htcaddicts.com)
Hi,
Unfortunatly it does not work as the only thing it is doing is closing and restarting apps.
You can do this manually with pretty same results.
But the problem of WM6.5 or HTC Sense or whatever I don't know is Memory Leak concerning GUI handling. Take a look a gwes.exe memory consumption at start and then at the end of a regular use day with all apps closed. GWES.EXE will take twice memory than it took when you soft resetted.
And I think nobody has find a way yet to get rid of this problem.
Regards,
Thomas
tlefeuvre said:
Hi,
Unfortunatly it does not work as the only thing it is doing is closing and restarting apps.
You can do this manually with pretty same results.
[....]
Regards,
Thomas
Click to expand...
Click to collapse
oh, I did mean to use cleanRAM manually (actually, mode 3) ... guess you're technically right, tho
Thanks! I think use this better than nothing. About the final solution, it may need to wait the HTC update ROM to settle this problem.... so sad!!
try to make the shared memory smaller
this problem is caused by the shared memory.
HKLM/ Software /HTC / Resloader
look for that registry setting and recalculate it to half. that might solve your ram issues. I had to do it with my Kaiser running M2D. Fixed my problem when I set it to 3mb (1024 x 3 = 3mb.) You need to make sure that the math is correct so that you are not wasting any sectors. 1mb increments works well.
I would reserve at least 10mb for TF3D as opposed to the 3mb for M2D.
Use this at your own risk and make sure you backup first, in case you will have to do a hard reset.
also, in order to see actual memory usage for processes you should use the MS task manager, not the DF TaskManager. MS gives you accurate readings, while DF lets you close processes.
I just tried setting it to zero. no harmfull efects.
thanks for your advise, I don't know how to caclulate this but task manager could help. may I ask when can I found the task manager?

Tilt2 has slowed down!

I know there's a thread about how to increase the speed of my Tilt2 by freeing up memory but I can't find it now. I've searched for it and can't seem to find it. As of right now I have a total of 187.07MB of program memory and 167.82MB is in use leaving me with only 19.31MB free. Can someone point me in the right direction on how to free up memory being used when there are no programs currently running.
okcboi said:
I know there's a thread about how to increase the speed of my Tilt2 by freeing up memory but I can't find it now. I've searched for it and can't seem to find it. As of right now I have a total of 187.07MB of program memory and 167.82MB is in use leaving me with only 19.31MB free. Can someone point me in the right direction on how to free up memory being used when there are no programs currently running.
Click to expand...
Click to collapse
There's actually just two simple .cab files you can run on your phone that will make a big difference in the memory management on the TP2, with or without programs running. I've attached both below, just copy them to your phone, run them from there, and you should see a noticible difference in the amount of available RAM you have, whether you're running stuff or not
sirphunkee said:
There's actually just two simple .cab files you can run on your phone that will make a big difference in the memory management on the TP2, with or without programs running. I've attached both below, just copy them to your phone, run them from there, and you should see a noticible difference in the amount of available RAM you have, whether you're running stuff or not
Click to expand...
Click to collapse
Thanks, so I can run them both at the same time? I thought I read somewhere about how to really close Opera cause it doesn't really close when you exit out of it, do you know where I can find that as well?
Once again thanks for the two .cab files Sirphunkee.
okcboi said:
Thanks, so I can run them both at the same time? I thought I read somewhere about how to really close Opera cause it doesn't really close when you exit out of it, do you know where I can find that as well?
Once again thanks for the two .cab files Sirphunkee.
Click to expand...
Click to collapse
No prob! You actually just run each of those cabs once, one right after the other, and they make registry changes that just stay in effect after that (they're not like programs that you would have to run every time you power the phone on).
As for Opera...what version are you running, just the stock 9.5 that came with the phone? There is a manual registry tweak (I haven't seen any cabs for it) that's supposed to make it close when you hit the "x", but they don't seem to work 100% for everybody. I'd actually recommend just going and downloading the free Opera10 beta that is avaible now...it's an improvement over 9.5, and has the ability built-in to completely close it from within the app.
check out cleanram as well:
http://forum.ppcgeeks.com/showthread.php?t=85285
Some people have problems with resetting the UI (the phone will freeze after a couple days), I haven't experience issues, but if you do, just use the 1st option, not the 2nd or 3rd as they reset the UI.

optimizing multitasking

hi guys!
is it possible to improve the multitasking performance? I often use twitter (moTweets) and Opera and Palringo simultainously, which unfortunatly always causes an automatic shutdown of all the applications. Running just one app at the same time is quite annoying. Is it possible to optimize this? (ROM: DeepShining, Manila 2.5)
thanks for your thoughts!
Opera 10 is a RAM killer.
Try Advanced Config 3.3 (you should be able to find it here or if you google it), go to HTC Task Manager - AutoKill - Disabled. HTC Task Manager will stop automatically close tasks to free up memory. Or decrease the default threshold. This may cause your device to get laggy or even freeze, but it worth a try.
slimslim said:
Try Advanced Config 3.3 (you should be able to find it here or if you google it), go to HTC Task Manager - AutoKill - Disabled. HTC Task Manager will stop automatically close tasks to free up memory. Or decrease the default threshold. This may cause your device to get laggy or even freeze, but it worth a try.
Click to expand...
Click to collapse
Hi, I tried all kind of tweaks, but nothing really works. As soon as I open mail or a twitter client, the browser shuts down itself quickly. Maybe there is a specific rom, that is very handy for multitasking?
Uninstall opera 10
I don't know why people insist on using that version but it effectively renders your tp2 a non multitasking device with all the resources it eats up. 9.7 or even 9.5 is way better for the tp2 (and faster imo). version 10 seems to have been written for a desktop type of device for the amount of ram it consumes.
People are delusional and want to use it thinking its good. but its really not.
I´m using Opera Mobile 10 beta2 without any issues, yes it eats RAM, but I have plenty so no lags here.
I have tested several browsers and Opera is the best so far, so it´s ok if needs more RAM to run
orb3000 said:
I´m using Opera Mobile 10 beta2 without any issues, yes it eats RAM, but I have plenty so no lags here.
I have tested several browsers and Opera is the best so far, so it´s ok if needs more RAM to run
Click to expand...
Click to collapse
I dont have a problem running opera 10 either. Its when I try to run Opera 10 and something else that I run into issues. Apperently you and I are using the same device with the same specs. I did everything suggested in your opera thread and still it eats up around 90% of the resources. If I try to open say two tabs and another program, thats when the memory issues begin. Also, it seems enourmously slower than the previsous version even on wifi. The load bar seems to sit at 50% for ever and a day while the same site on 9.7 is loaded fully in a few seconds. I firmly beliive 10 comes with a placebo effect built in.
The UI is nice, but the browser is not for a rhodium by any means. Not unless you want to turn off tf3d or run JUST the browser.
Same here, using 10 b2, no problems at all, is my main browser. Also using SPB MobileShell or Titanium helps freeing memory.
I'm using Opera 10 beta 2 and palringo both at the same time no issues, also pocketwiter with no issues so possibly is it the twitter app that is causing the problems?
I m having the same issue with both 9.7 and 10 beta 2. I cannot let Opera and IE both running even when the autokill is set to off.
I think it's not the opera's problem cause I cannot let TVUplayer and core player running together either.
TVUPlayer should be running in the background dealing with the stream data while the core player is playing in the foreground but TVU always got killed in the background.
I think TP2 doesn't have enough ram for multitasking when manila is running.
I'm fairly certain this is a ROM problem. I've experienced the same thing with all ROMs that have Sense 2.5. My applications kept getting autokilled.
This happens rarely with WinMo 6.5+Sense 2.1 ROMs. But sometimes, it does and it's very irritating.
This is one of the main reasons why I've "downgraded" back to stock WinMo 6.1 ROM. My applications never gets autokilled now. I've consistently done the following things simultaneously with no problems:
-Listen to music using the Music tab in TF3D
-Browse web using Opera 9.5
-Chat using MSN Messenger
-All while having the following applications opened: Messaging, Notes, Resco File Explorer, Calculator, Excel Mobile
ohyeahar said:
I'm fairly certain this is a ROM problem. I've experienced the same thing with all ROMs that have Sense 2.5. My applications kept getting autokilled.
This happens rarely with WinMo 6.5+Sense 2.1 ROMs. But sometimes, it does and it's very irritating.
This is one of the main reasons why I've "downgraded" back to stock WinMo 6.1 ROM. My applications never gets autokilled now. I've consistently done the following things simultaneously with no problems:
-Listen to music using the Music tab in TF3D
-Browse web using Opera 9.5
-Chat using MSN Messenger
-All while having the following applications opened: Messaging, Notes, Resco File Explorer, Calculator, Excel Mobile
Click to expand...
Click to collapse
+1 on the stability and smoothness of 6.1! I honestly can't remember the last time I ran into a memory shortage, at least not to the point where anything autokilled. I often leave opera (10b3) open just to save myself the initial load time whenever I want to look something up real quick (which is often), and it's never kept me from having all the other stuff running that I usually have open:
WMP
Total Commander
File Explorer
messaging (always with active use)
calculator
and often google maps as well
The point of all this is...the cause of the issue for the OP (and many others) is just the resource consumption of the later models of WM and TF3D~Sense
How many of these threads really must exist?
It's PROCESSES, not ram... Unless you guys are doing something asinine, my Tilt 2 right now has 88M ram free, I never see less than 40M free, and I run a LOT of stuff, PocketWeather, GPSToday, a cell location upload program, plus FlexMail, Palringo, S2U2, all the while doing stuff like Twitter, FIM, PIE, Opera, whatever.
What gets you is processes. Look at some tool which will show you how many current running processes there are, I'd think any task manager can, I use MemMaid. 31 is the maximum for Windows Mobile, and I have heard when it exceeds 28 it starts killing.
My Tilt 2 had something like 25 processes at boot at first, with a few programs installed.. I had to do a bit of tweaking, but now I have it down to 22 with all of the above normal stuff running, and now I rarely have a problem with programs exiting.
khaytsus said:
How many of these threads really must exist?
It's PROCESSES, not ram... Unless you guys are doing something asinine, my Tilt 2 right now has 88M ram free, I never see less than 40M free, and I run a LOT of stuff, PocketWeather, GPSToday, a cell location upload program, plus FlexMail, Palringo, S2U2, all the while doing stuff like Twitter, FIM, PIE, Opera, whatever.
What gets you is processes. Look at some tool which will show you how many current running processes there are, I'd think any task manager can, I use MemMaid. 31 is the maximum for Windows Mobile, and I have heard when it exceeds 28 it starts killing.
My Tilt 2 had something like 25 processes at boot at first, with a few programs installed.. I had to do a bit of tweaking, but now I have it down to 22 with all of the above normal stuff running, and now I rarely have a problem with programs exiting.
Click to expand...
Click to collapse
Are you sure about this.. i donth think it's the case.. it is because of the memory.. because i use fdcsoft task manager.. it shows that there are 15 processes running... but still if i open opera, palringo, gsplayer,sms and a new tab .. programs will start closing .. so if you calculate i only have 15 + 4 processes.. it's waaaay less than 31.. are there any hidden processes which i am not seeing??.. which task manger are you suing to get the no of processes??
I've also noticed that under 40 MB RAM, Opera Mobile won't even start... currently I have 17 processes runing in fdc (two of tem being Opera and fdc - just opened, so basically only 15)
depakjan said:
Are you sure about this.. i donth think it's the case.. it is because of the memory.. because i use fdcsoft task manager.. it shows that there are 15 processes running... but still if i open opera, palringo, gsplayer,sms and a new tab .. programs will start closing .. so if you calculate i only have 15 + 4 processes.. it's waaaay less than 31.. are there any hidden processes which i am not seeing??.. which task manger are you suing to get the no of processes??
Click to expand...
Click to collapse
15 seems very low with programs running, so I'm thinking you aren't seeing the total number of processes. As I said, I use MemMaid
I use DF Task Manager & Memmaid Both have different benefits.
I also have the same issues. If I load Opera it closes everything else.
With nothing running except Manilla I onlky have 60Mb left of the original RAM. I have experimented with SPB. I if use this I start with 90Mb free.
I have tried all sorts of Manila tweaks and memory hacks to free up memory from manilla.
Nothing works.
Looks like I might have to find a ROM with 6.1 instead of 6.5.5 .
Just did a test. nothing but WM6.5, Manilla & Opera 10 running. 18Mb left. something wrong with this picture!!!
Try changing the pagepool to like 12. But you're going to have to do this before a flash. Read up on it if your interested.

TP2 running v slow - how do i free up memory?

My TP2 (winmo 6.5) is running painfully slow atm - it can take 10-20 seconds do do something like load my inbox or an email..
On a quest to speed it up I was looking at the memory in use:
Total: 187.41mb
In Use: 151.36mb
Free: 36.05
which is when the device is idle with no open apps.
36MB of free memory seems appallingly low to me.
Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?
I have 259.2MB of 'Storage' memory, of which only 30MB is used, hanging onto the rest is a big waste.
Or - is there a better way to speed things up? (like install android? )
You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.
http://forum.xda-developers.com/showthread.php?t=676277
Well I dont know which 6.5 your running but I have switched ROMS myself, I was using the EU rom for the past couple of months, and anytime I got under 40MB free memory, the TP2 would run slow and odd, I recently switched over to the SEA rom, put the exact same programs on and as of right now I am running at 27MB of free ram with nothing running, and its just as fast when its fully loaded and I have almost 87MB of free ram. but its taken 4 days to drop to 27MB, odd.
burtonsnow8 said:
You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.
http://forum.xda-developers.com/showthread.php?t=676277
Click to expand...
Click to collapse
Yeah, also by reducing the ShareMemSize (HKLM\SOFTWARE\HTC\ResProxy) to 0. So I read somehwere!
BioTecK said:
Yeah, also by reducing the ShareMemSize (HKLM\SOFTWARE\HTC\ResProxy) to 0. So I read somehwere!
Click to expand...
Click to collapse
Yes, I'm pretty sure that's what the "dynamic resource proxy" cab does. I don't have my TP2 with me at the moment or I'd test to confirm.
jamesb457 said:
..
Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?
..
Click to expand...
Click to collapse
I'm afraid you are showing your age, so far as I know that slider hasn't been used since before WM5. With WM5 they went to using NVRAM for storage (flash memory if you prefer). Prior to that all WM used RAM for storage - which meant they could not be turned off without clearing everything! But in those versions (I remember WM2003 in particular), you could allocate where the ram was used - storage or programs.
I often think that in some ways those older OS were faster. I remember my XDA mini working very fast. When MS switched to non volatile storage, I think they lost a bit of speed - flash is not as fast as RAM. Of course they gained the fact that you don't have to worry about turning off the power and losing your files!

Categories

Resources