wm6.5 eat RAM - Touch Pro2, Tilt 2 Windows Mobile General

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?

Related

Some Information about free ram needed

Hi folks and greetings from Bulgaria.
I wondering are is possible some one to tell me how to increase avaliable RAM in my HTC Universal, because I used a new Garmin Mobile XT beta navigation software and he's like RAM eating machine.
Right now I'm with Helmi AKU3.3/ver 1.1 ROM - and I'm realy impressed from that ROM, but unfortunately after clean install my free RAM goes to 23.7 MB and this is not enough for Garmin XT - every time when a need to start application I must Restart.
Is it possible to edit Helmi's ROM and remove Page pool size in order to release more RAM ?
Thanks in advanced
agisofttm said:
Is it possible to edit Helmi's ROM and remove Page pool size in order to release more RAM ?
Click to expand...
Click to collapse
You can definitely edit Helmi's ROM to increase or decrease the pagepool size. But based on my experiments, decreasing the pagepool size also decreases the speed, and yes you are right, it will increase the available memory for the apps to use, but you are scrificing the speed applications run. You can definitely decrease it to as slow as a turtle's running speed, if you know what I mean.
You can definitely edit Helmi's ROM to increase or decrease the pagepool size. But based on my experiments, decreasing the pagepool size also decreases the speed, and yes you are right, it will increase the available memory for the apps to use, but you are scrificing the speed applications run. You can definitely decrease it to as slow as a turtle's running speed, if you know what I mean.
Today 11:26 AM
Click to expand...
Click to collapse
Yeap I know exactly what this mean.
So is there some other trick to release a 2-3 MB ermanently?
I use SKtools to optimize my Universal, but I've managed to release no more than 500kb.
agisofttm said:
Yeap I know exactly what this mean.
So is there some other trick to release a 2-3 MB ermanently?
I use SKtools to optimize my Universal, but I've managed to release no more than 500kb.
Click to expand...
Click to collapse
I too have problems with memory, 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 that I would like to share with you and 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.
Thread: http://forum.xda-developers.com/showthread.php?t=285091
cktlcmd:
10x Man - I'll inform you about the results
I've another thing in my head:
Actualy I was with Radio ROM 1.09 and there I was have only 21MB free after fresh install - after upgrading to Radio 1.13 free memory was 23-24 MB - now I see that is new radio ROM 1.14.10 on FTP - when I tryed I'll inform you about results

[SOLVED] Gwes.exe leak

Guys, i'm going mad.
Since i have iPhoneToday installed (with many icons, i admit), my GWES.exe (WM 6.5, ROM NextOS 1.2)raises quickly to 20Mb memory usage. And then, as soon as it reaches 20 megs, HTC MEnu Enhancement stops working leaving me with an unusable system (breaking HTC Menu results in apps not showing at all their menus). CleanRam usually takes it back to 13mb, but i have to run CleanRam about every time i run an app (and that's bad).
For what i know, processes should have a 32mb space, so my questions:
- why the hell my GWES kills HTC Menu at 20mb?
- is there a way to give GWES more memory to operate? (i've tried to reduce the payload uninstalling topbar and gaining 3 mb, but it's not enough).
- i've seen there was an old patched GWES floating around for and old problem of HTC enlarged menus working bad: is there something similar for newer GWES's?
-as alternative: is there a way to flush GWES when it reaches, to say, 19mb, so that it doesn't reach 20mb limit and breaks HTC menu?
Thanks
I found this topic via the search button because I have the same problem with Dutty Leo R5.
When softresetting the phone the application gwes.exe (Graphical Windowing and Event System) takes about 15-16MB, thats absolutely OK.
Now after some time using lockscreen and some other apps the application gwes.exe grows up to 27MB. These 27MB seem to be a magic number, because when gwes.exe reaches 27MB the menus are getting very ugly. (ill try to find a screenshot to explain what I mean)
Somehow for you its 20MB, for me it was ~27MN.
After some more time gwes.exe takes more than 30MB and then it happens! Alot menus arent beeing displayed at all! Also some other applications dont start at all or better dont display a single picture or text...
No1 an idea what we can do with this gwes.exe thingy?
Since there were no answers, I have solved this problem myself long time ago.
You can use the attached cab: it will install another GWES.exe and GWES.exe.0410.mui version, that uses much less memory (at startup now i have 12 mb WITH 5 megs of iPhoneToday icons, it means 7-8 megs if you don't use it).
Of course, if you haven't italian ROM, remember to rename the GWES.exe.0410.mui accordingly to your ROM
BEWARE! Installing a wrong GWES version could lead you to hard reset!!!
So, install at your risk. This is only for WM 6.5!!!
HansiHusten said:
Somehow for you its 20MB, for me it was ~27MN.
Click to expand...
Click to collapse
It depends on how you read it: i use sktools, that reads different, for example, from memmaid, since it splits size and heap
bbonzz said:
Since there were no answers, I have solved this problem myself long time ago.
You can use the attached cab: it will install another GWES.exe and GWES.exe.0410.mui version, that uses much less memory (at startup now i have 12 mb WITH 5 megs of iPhoneToday icons, it means 7-8 megs if you don't use it).
Of course, if you haven't italian ROM, remember to rename the GWES.exe.0410.mui accordingly to your ROM
BEWARE! Installing a wrong GWES version could lead you to hard reset!!!
So, install at your risk. This is only for WM 6.5!!!
It depends on how you read it: i use sktools, that reads different, for example, from memmaid, since it splits size and heap
Click to expand...
Click to collapse
Please post cab for english rom. Thanks!
enyaj said:
Please post cab for english rom. Thanks!
Click to expand...
Click to collapse
Here you go
Thanks! Will try this out now.
Edit: tried to install cab but unfortunately it was unsuccessfull. It said it odes not have sufficient system permission. Do I have to do anything before installing cab?
enyaj said:
Thanks! Will try this out now.
Edit: tried to install cab but unfortunately it was unsuccessfull. It said it odes not have sufficient system permission. Do I have to do anything before installing cab?
Click to expand...
Click to collapse
I also have the same problem, any ideas how to get this fix installed?
same here doesnt work
enyaj said:
Thanks! Will try this out now.
Edit: tried to install cab but unfortunately it was unsuccessfull. It said it odes not have sufficient system permission. Do I have to do anything before installing cab?
Click to expand...
Click to collapse
if you cannot install it in any way, the only solution is to copy the files manually (attached for your convenience):
1- with resco explorer or total commander go to \windows and rename gwes.exe to gwes.exe.bak and gwes.exe.0410.mui (or 409, or whatever is your country code) to gwes.exe.0410.mui.bak
1a- if you cannot rename, this means the files are in ROM, so no problem: go to 2
2- copy the new files to SD, and then again with resco or total, move (not copy: move) the new gews.exe and gwes.exe.0410.mui to \windows. (You'll be told "warning the files are in rom you can damage and blah blah": answer you want to overwrite).
3- import the .reg
4- soft reset
I was able to copy to device but my gwes.exe still shoots up to 25-27mb after locking the phone. I'm curious though after importing reg file it did not notify if it was successful. It just asked me if I wanted to import.
enyaj said:
I was able to copy to device but my gwes.exe still shoots up to 25-27mb after locking the phone.
Click to expand...
Click to collapse
Maybe you already had this gwes version... I guess it depends on what is your rom. I still have 23016 buid and it works.
enyaj said:
I'm curious though after importing reg file it did not notify if it was successful. It just asked me if I wanted to import.
Click to expand...
Click to collapse
This is the normal behaviour. btw, the reg only disables magnifier (since this is a newer gwes with magnifier embedded).
may I know the origin of the gwes.exe file? which build was it taken from?
I am using 21869 build now and the gwes.exe still keep "expanding" after long usage of Garmin, Opera, etc, but the HTC Menu stays working even gwes.exe has expanded over 30MB.
By the way, I have also tried smaller Font cache size, fom 32k down to 8k and it does help to reduce gwes.exe size.
maesus said:
may I know the origin of the gwes.exe file? which build was it taken from?
Click to expand...
Click to collapse
it's from 23052
bbonzz Anti-GWES leak-EN.cab
Hi all
Has anybody tried bbonzz Anti-GWES leak-EN.cab on MS build 21854? If so, can you please post your results. I'd like to get gwes.exe down in size but I don't want to have to hard reset my device.
Thanks
andrew-in-woking
I've came to this thread because I've the same problem and I've found that when GWES is near to the Windows CE process limit of 32MB some graphical intensive apps stop working.
I read the memory usage with memmaid, so it gives a mix of size and heap.
If an app creates a new DC and its asigned memory mapped bitmap for some graphics and does not release it, or create any kind of graphical objects and does not release them, it results in GWES memory leaks, and as soon as it reaches a memory usage near 32MB, if another app tres to create graphical objects, receive an error and cannot do it.
I've started my HD Leo Holy Gray R0 and GWES takes 15MB of RAM, but in my Diamond WM6.1 without Manila it take only 1.7 MB of RAM.
So there are three problems: Initial usage, badly written programs and new graphical intensive applications.
I'm the programmer of a graphical intensive commercial application. When some menu is opened, I need almost 3MB of GWES ram that I liberate as soon as the menu is closed. I've tried starting the app and the menu 50 times and closing it again and GWES have not increased its memory usage, so it can be done.
My advise: Try to identify the app that is leaking memory in your system and avoid it. Look for a replacement program that is well written.
Do I have found a solution?
I use a lot Resco explorer, that has a new look since WM6.5: the treeview control for folders is now more "expanded" and have bigger + and - simbols.
I don't like them so big, so investigating I've changed these two keys:
HKLM/System/GWE/CommCtrl/TreeViewPlusMinus to 18 (0x12)
HKLM/System/GWE/CommCtrl/ExtraItemSpace to 4
And not only it now shows the treeviews like before, but I've not got any problems with GWES since I did it.
Maybe there has been introduced memory leak on the treeview control functions when them have been modified to support this new style?
Good contribution, lets test it and report!
gwes.exe heap size is huge
I tried the tip above and my gwes.exe heap size did reduce by a couple of MB but at one point yesterday the process details (from SKTOOLS) for gwes.exe was over 100MB.
My phone's an HTC Touch Diamond 2 but wanted to include it for reference.
Name---- ---Size ----Heap Path----------------
gwes.exe 4247552 85132896 \Windows\gwes.exe
Would the tip above about replacing the gwes.exe be compatible with my phone too?
andrew-in-woking said:
Hi all
Has anybody tried bbonzz Anti-GWES leak-EN.cab on MS build 21854? If so, can you please post your results. I'd like to get gwes.exe down in size but I don't want to have to hard reset my device.
Thanks
andrew-in-woking
Click to expand...
Click to collapse
I have 21849 and I had to hard reset.
So much for bravery.
SeveredEggplant said:
I have 21849 and I had to hard reset.
So much for bravery.
Click to expand...
Click to collapse
me too... after copying, my device hangs during reset. Gotta hard reset

6.5.3 RAM issues?

Is anyone else having severe RAM issues with 6.5.3? After a day I'm down to less than 20MB free if I have Opera open! I think it might be something I install. Here is the list of CABS I install that I think could have some effect on the system.
ShowcaseSuite (I disable auto-run, only manual launch with a mapped button)
SdkCerts
Coreplayer
RhodiumKeyboardControl (button remap program)
Palringo 2.0.0
PowerSMS
Resco Explorer
reSTART
RunGPS
Skype
TomTom 7
My biggest suspicion is ShowcaseSuite. What task manager do you all use on 6.5.3?
What rom specifically are you using?
I'm currently on RRE but I had this problem on EnergyROM, too. I didn't seem to have this problem on the official 6.5 ROM though, but I wanted 6.5.3.
Same issue here.. you might want to post this to the RRE thread...
sphinx88 said:
Same issue here.. you might want to post this to the RRE thread...
Click to expand...
Click to collapse
Do you use any of the same programs as me?
The only two that match are CorePlayer and TomTom
But it is the same with Co-Pilot.
Others are:
PhoneAlarm
g-alarm
beyondpod
pocketbible
Neoreader
Mortscript
What rom are you using? And manila 2.5?
I found on NRG's Rom I had about 40mbs spare at boot, and I switched to another rom I have about 70.
i also think showcase might be the culprit. i think more specifically its the showcase suite. im doing some testing right now with a vanilla installation of 6.5.3 to see if its whats slowing me down. ill report soon....
What is "Showcase?"
It depends on the pagepool setting of the ROM. A bigger pagepool will render you with a smaller pool of useable RAM upon startup. I know energy ROM's pagepool is set to 28mb. I always changed it to 16mb prior to flashing. So far works okay for me, and my memory utilisation never goes beyond 75%.
Seifer1975 said:
It depends on the pagepool setting of the ROM. A bigger pagepool will render you with a smaller pool of useable RAM upon startup. I know energy ROM's pagepool is set to 28mb. I always changed it to 16mb prior to flashing. So far works okay for me, and my memory utilisation never goes beyond 75%.
Click to expand...
Click to collapse
Usable RAM at startup is not the problem. The problem is growing RAM usage. It boots at say 70MB free, but after a day, even after I close everything except Opera, I'm down to around 15MB. If I close Opera around 30MB. That is 40MB that is just lost. GWES.exe seems to grow a lot, but as much as the lost RAM (though it is most of it).

[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.

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