optimizing multitasking - Touch Pro2, Tilt 2 Windows Mobile General

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.

Related

WM6 doesn't release program memory after program close

Hi all,
I have been suffering by this issue.
I do not have many program in my x01ht, only isilo, mbook, rescoviewer, rescoexplorer, PMcontact, pocket imformant HTC Home, Slide to unlock 0.72, CE-Star, CORG (some of them are installed in card memory)
Everytime after I soft reset my x01ht (offical WWE ROM), I have 26-27M program free
However, after running couple of apps., the program memory drops (of course), the problem is if the app. takes 5M of program, WM6 only release 2-3M memory after I close this app.
So, after half day using my x01ht , I must reset it once , otherwise there is less than 10 M program memory free inside, and I could not run more than 1 program or use PIE to surf internet
Does anyone know anything I could do to fix it ?
Or it just normal because it's based on "window" ?
Appreciated!
I use a small app called "Hibernate" to release closed program memory daily. It was installed already on my TNT rom, so do a search should to find it's cab.
Freeware Oxios Memory (containing Hibernate and Close Apps mentioned in above post) can be downloaded here.
Thanks so much Guys, but I also read from this forum, somebody said this program makes hermes device no more multi-task functions
Everytime users only can run one program...very weird.
Any other users tried this program on Hermes? (Offical WM6 ROM or Cooked ROM?)
Actually I am trying it now, but I have a question, what's the difference in function between Osios Hibernate and Oxios CloseApps ?
Thanks
Not even Oxios Hibernate can free all used RAM. It's an OS issue, called memory leak.
Hibernate - free RAM without closing apps.
CloseApps - Hibernate + Close all apps
DaVince said:
Not even Oxios Hibernate can free all used RAM. It's an OS issue, called memory leak.
Hibernate - free RAM without closing apps.
CloseApps - Hibernate + Close all apps
Click to expand...
Click to collapse
Thanks so much,
I have found out something weird after I install this app.
It automatically closes my app. after couple of mins (after use) , even I only run ONE app.
And it closes app. when I run more than 3-4 apps at the same times immediately (after I run the 5th or 6th app. )
I thought Hibernate and closeapps functions when I click it , but not automatically close my apps., isn't it?
kinghung said:
Thanks so much,
I have found out something weird after I install this app.
It automatically closes my app. after couple of mins (after use) , even I only run ONE app.
And it closes app. when I run more than 3-4 apps at the same times immediately (after I run the 5th or 6th app. )
I thought Hibernate and closeapps functions when I click it , but not automatically close my apps., isn't it?
Click to expand...
Click to collapse
They should work on demand - i.e. only when you run them by clicking the icon/exe. I am using these two apps for quite some time and never had such an experience you describe. Seems the culprit is something else in your case...
It's a natural WM behavior to close other apps when the system requires more memory. For example, you open up calendar, then you open up a game that requires a lot of memory, WM will close calendar automatically.
It's not the Hibernate/CloseApp app that's doing it.
DaVince said:
It's a natural WM behavior to close other apps when the system requires more memory. For example, you open up calendar, then you open up a game that requires a lot of memory, WM will close calendar automatically.
It's not the Hibernate/CloseApp app that's doing it.
Click to expand...
Click to collapse
But before I installed this oxios memory, It didn't happen to me.
And after I uninstalled it, It doesn't happan again (I uninstalled it over 1 day)
So , it sounds a bit weird for me......I really have no idea.
But anyway, thanks so much guys!
KarhU said:
They should work on demand - i.e. only when you run them by clicking the icon/exe. I am using these two apps for quite some time and never had such an experience you describe. Seems the culprit is something else in your case...
Click to expand...
Click to collapse
Thanks, so which one should I run when I see the memory is dropping to a very low level?
Hibernate or closeapps?
It sounds closeapps has both hibernate and closeapps functions , hasn't it?
kinghung said:
Thanks, so which one should I run when I see the memory is dropping to a very low level?
Hibernate or closeapps?
It sounds closeapps has both hibernate and closeapps functions , hasn't it?
Click to expand...
Click to collapse
Answer to your first question: I do it even more often...
I prefer Hibernate.
You are right Closeapps closes the running programs and has hibernate function included. If these apps do not work correctly for you you can use commercial or freeware version of SkTools (it also cleans RAM apart from tons of other functions or also commercial MemMaid - that will let you clean tweak everything connected with memory in your PDA.
Oxios CloseApps doesn't close apps. I don't know if it's because it doesn't work with WM6.1 but when I use it all my apps are still running. Have to use QuickMenu's "close all apps" mode.

Exit Internet Explorer

Sorry for the noobish question, but I just got a S621, and I'm trying to figure out why Internet Explorer doesn't seem to have an exit option.
Please tell me there's a way to exit without resorting to the task manager.
Because Microsoft seems to think you want to leave most of their apps running all the time LOL
Use Task Manager to close it when you are done.
Gah. I was afraid that would be the answer. I wonder why they do this on a phone with such limited memory. And whats the point of keeping the apps resident when there's no task switcher? I suppose the recent programs partly serves this function, but it doesn't show which apps are running.
Quite the opposite to Apple's approach - not allowing apps to stay resident on the iPhone, which I believe has at least double the RAM of the s620 & a much faster CPU.
By the way, are there any freeware alternatives to IE that do not require server-based rendering?
Opera Mini.
Download opera mini from the usefull apps post. Its truly amazing.
I still have IE there for certain things like thestreamcenter.com so it knows im on a mobile phone. I use celetask shortcutted to the Tmobile key(nrg rom) to kill it and regain lost ram.
If you are using the tmobile rom I suggest switching off it as fast as you can.
Good Luck.
I'm using the 3VO 6.5 rom. I've used Opera mini before (while traveling in India & China) & I agree it's great, but I'm looking for a browser that renders pages natively, without connecting to a proxy. Is there any freeware one besides IE?
Also, what's the best way to map a button to the task manager with the 3VO 6.5 rom?
dforestb said:
Also, what's the best way to map a button to the task manager with the 3VO 6.5 rom?
Click to expand...
Click to collapse
I thought it was the red t button on the bottom right of the phone. Thats if your using the same 3vo 6.5 as me...
There's Opera Mobile which isn't freeware but probably the best given the phone's limited memory. Apart from that the options are limited - Iris (free) which is based on WebKit is the other option that is a native browser (not through a proxy) but it's designed for a phone with at least twice as much memory really, so although it'll run, once you start hitting large pages it runs out of memory rapidly. Which is a shame because it's nice.
I use Opera mini unless I absolutely have to use a native browser (e.g. for logging into a wireless hotspot, Intranet etc.). It's remarkable just how fast it renders pages!

Multitasking with rhodium

i dont understand this why is this so hard to multitask in rhodium... i cant multitask while i browse.. crap !!!.. tried all the browsers they close once i try to open any other application??? WTH??.... what do i do... i have flashed nearlly ll the cooked roms , in all of them i experience the same problem.. in some roms i get this error if i try to open a heavy web page
"Memory low, please choose an application to close" i only have windows media player and a browser.. cant even two applications run .. huff man.. even my elfin was able to multitask better... this 256mb ram is good for nothing.. all the cooked roms are also filed with junk.. total 176 in that 100 mb is already filled WTH!!!.. and in a day it come to 150mb and i am left with only 20mb .... ...
try ucbbrowser and see
its good for browsing
heavy memory use is due to screen resolution being high
do not use windows media player, it consumes heavy ram
use coreplayer, nitrogen or whatever
NEVER WINDOWS MEDIA PLAYER
even with nitrogen it closes... the real point is, i open the browserand open some webpage.. by the time it loads i want to run some software.. for that i press the red key.. by the time i open the second software the browser would have closed already... so it's not even 2 programs just one browser it cant handle..
I think you must have some other factor in play here...
On my TP2 (Tmo US, stock 6.1 rom), I currently have open:
-IE, on ESPN
-Nitrogen, playing a 95MB mp3 file
-Word Mobile, with a 2MB doc open
-Google maps, with GPS running
-HTC photo album, listing ~200 hi-res pics.
I have a slight slowdown in menu scrolling, but that's it...other than that, each program is running and running smoothly. I even loaded IE before all the others, just to see if it shut down when I added anything in particular, but it never did.
You mentioned that you hit "the red button"...do you mean the far-right hardware button in the row along the bottom? It was always my understanding that would close the app you're "in" at that moment, but I could be wrong. To back out of an app, but still leave it running, and then open another, I just hit the "home" button to take me back to the home screen, then I can navigate to any other program and start it without closing any of the ones I have open.
Oh cool...i am never able to runthis many apps.... maybe i need to flash some 6.1 rom and check how it goes... maybe 6.5.5 is the issue .. but again 6.1 looks like **** .... have to find a better trade off.... or is sense 2.5 the real issue???... even with 2.1 i had problems i guess... man i should find a better combination here..
6.1 with titatnium or 6.1 with 2.1 or 6.5 with titanium or 6.5 with 2.1 or 6.5 with 2.5 or 6.5.5 with titanium or 6.5.5 with 2.1 or 6.5.5 with 2.5
Also red button wont close the app.. it just gets you to home screen..
Even though I never had issues multitasking on here before this, I will mention that I recently installed the 2 .cabs which have been shown to reduce memory usage on the TP2:
"SSK TP2 Dynamic Resource Proxy.cab"
and
"NoPushInternet_v2.cab"
They should both be available here, but if not, they can be found by a simple search of other similar forums as well (I think I found them at PPCGeeks, not sure). Like most other people that have tried them, I noticed an immediate, and constant, 20-40% reduction in memory usage overall.
depakjan said:
i dont understand this why is this so hard to multitask in rhodium... i cant multitask while i browse.. crap !!!.. tried all the browsers they close once i try to open any other application??? WTH??.... what do i do... i have flashed nearlly ll the cooked roms , in all of them i experience the same problem.. in some roms i get this error if i try to open a heavy web page
"Memory low, please choose an application to close" i only have windows media player and a browser.. cant even two applications run .. huff man.. even my elfin was able to multitask better... this 256mb ram is good for nothing.. all the cooked roms are also filed with junk.. total 176 in that 100 mb is already filled WTH!!!.. and in a day it come to 150mb and i am left with only 20mb .... ...
Click to expand...
Click to collapse
i use 6.1 with stock rom on sprint and use the stock opera browser to surf the web. i can use pocket player while browsing the web and no problems. have you tried pocket player?? its much better then wmp,coreplayer i think. pocket player isnt free though,a quick search and you will find it.
i guess i finallly understood the problem.... switched back to a 6.5 rom... whoa... i can multitask like hell... ****on 6.5.5 was the problem.. worst memory management there... also battery drains like hell... people who are using 6.5.5 for a long tmi switch to 6.5 you will note considerable difference

RAM issue

Hi All,
I recently bought a touch pro2, it's running windows 6.5 and also has HTC sense, i stopped using sense and it free'd up 10mb on the program ram, however it was so buggy without it, for some reason, i enabled it again.
I have total 187.02mb Ram
in use: 136.99mb
Free: 50.03 mb
usually the free ram goes way down when i run an application, i currently have no programs running.
How can i increase the free space? I thought uninstalling programs and installing them onto my storage card would help, but it didn't. I'm new to the phone after a well deserved upgrade (it's been 6 years lol) I love the phone, however it's just a minor problem as sometimes it crashes and I have to take out the battery to start it back up again.
Any help would be appreciated.
I understand you can get Custom Roms, however I am quite happy with the stock, but its vodaphone, i don't know if theres any bloatware, lol and i like the facebook and all the softwares it has. I only want a minor tweak not expecting miracles, but maybe 10mb more or something on average.
Also I'm running the stock rom which is 1.86.161.0 I understand there is a newer one out, will thsi make it any faster?
You might have a memory leak somewhere, I generally idle around 57% and only hit 75% (50 mb free) with multiple programs open. You might have an issue with one of your programs causing a memory leak, what exactly do you have installed?
The new ROM may help out a little bit with your RAM usage. Also, SSK Dynamic Resource Proxy and NoPushInternet should help out if you want to try those before the new ROM.
right now im running at 74% and this seems to be the norm and even running into 80% if i open skype. basically if i open any program like camera asin 1 program at a time as well not multiple at one time, it regularly goes to 80%, I got no pushinternet, i even had cleanram, removed that cas didn't help that much as it would always go back to same old 74%, havent tried ssk dyanmic resource proxy. I am trying that now.
heres what i have installed:
*gets comfy*
Active syn
adobe reader
album
all peopel
audio booster
bubble breaker
calculator
calendar
camera
comm manager
contacts
email
excel mobile
fm radio
facebook
file explorer
getting started
google maps
htc calendar
help
internet explorer
internet sharing
jetcet presenter 5
mp3 trimmer
mail setup
marketplace
messenger
microsoft my phone
notes
02 sim
one note mobile
opera browser
phone
pictures and videos
pockettwit
pockettwit quickpost
powerpoint
quickgps
rss hub
remote desktop mobile
sim manager
sun java (gmail app in there too)
search phone
search widget
settings
skype
solitare
streaming media
tasks
teeter
text
voice recorder
windows live
windows media
word
worldcard mobile
youtube
that seems to have done it! thank you. I reset the device afterwards im running like 4 apps and its on 60% brilliant
You can also try this CAB, its not mine but I use on some ROMS, it improves a decent amount of ram if you would like to try it.
Hope it helps,
Kenichi
phoenixcg said:
that seems to have done it! thank you. I reset the device afterwards im running like 4 apps and its on 60% brilliant
Click to expand...
Click to collapse
Sweet deal, glad to help out
trying that cab out as well, loll if it helps more, why not haha.
amazing its running at 55% with skype...wow haha, that feels right now.
Any idea if this would improve battery life, because if more apps were running surely it was using the cpu more or something?
I believe so, mostly I remember from the thread (forgot where it is now) is that it lowers much of RAM, but I am guessing the battery life will go up a little bit more but not much.
that improved by a percent so every little helps, hmm, the phone is on 60% anyway with wifi and 3g on all day, and plus pretty constant texting and email plus skype usage, so thats pretty alright, might try to push it tommorow. constant skyping, see how long it lasts.
Alright, I haven't been able to find anymore RAM tweaks that really improve anything, I'll post here again when something that works out.
I tried all of the above but I'm still sitting at 70% usage while idle =/
What ROM/Carrier?
Also when you continue to cache files for quick load your RAM will go up and stay up. Read the thread for joker's cab there is a lot of info about how your phone caches files.
Well Demonic240 you have to be running Manilla 2.5 or something to have such a big amount of ram running at 70%, although I have no problem with that what so ever because all your programs don't take that much RAM. If you were to have such problem with RAM then just switch to Titanium or even less RAM the windows menu screen.

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

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.

Categories

Resources