[SOLVED] Gwes.exe leak - Touch HD Themes and Apps

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

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

T-Lite! SuperStorage Rom

Warning: This flash will overwrite your extended_rom!
This rom is very similar to my Dopod Lite (now D-Lite!, I just thought of it!) rom, however, this one is based on bepe's modified T-Mobile 3.6 rom, so it converts your extended_rom memory into additional storage memory. Until I can figure out exactly what bepe did and apply it to the D-Lite rom, I thought I'd put this out there for all you storage memory freaks. (You know who you are.) This is pretty much equivalent to my DopodLite V1.0, so you can read that thread for info about what it looks like, and what I've done to create it. I hope it proves to be just as stable.
Like the Dopod version, this is meant to be a stable, fast starting point for your own creativity. It's much easier to mix and match applications after flashing than before. If you get tired of a particular app, just remove it and try another. If you get tired of a particular skin, try a new look. There's plenty of stable, fast storage memory for loading your today screen utilities, phone apps, voice dialers, animated screens, etc, etc.
This rom does not have: Transcriber, voice dialer, catalog, error reporting, autoupdate, phone home (ceipui), games, calculator, some audio files and other odds and ends. It does include: Office 2007 (No OneNote. Thats not particularly useful unless you have it on your desktop, in which case it installs automatically anyway.), Java, .Net, all the Bluetooth and security stuff, MMS, Camera, and the rest of the basic functionality. If you want transcriber or a voice dialer or games feel free to add them. Ditto for the calculator, which needs replacing anyway.
At cold boot:
4mb page pool: 71.47 mb total storage, 67.10 mb free storage memory, 31.19 mb free program memory. If you delete the startup folder shortcuts, the program memory goes to 31.97 mb.
6mb page pool: 67.10 mb free storage, and program memory is 29.08, and 29.87 mb respectively.
T-Lite 4mb Rapidshare Link
T-Lite 6mb Rapidshare Link
Additional FTP mirror, courtesy of claymen
Enjoy!
Other Stuff
Functionality links:
Cingular 8525 keyboard fix
Cingular WAP settings
Lots of CABs
Lots more CABs
Lots of freeware
Can you make a screenshot of it m8
Great work btw!!
Re: screen shots
It looks just like the DopodLite, except the phone has a T-Mobile skin. I have some screen shots in the Dopod thread. (see my sig)
I'll try to put some here soon.
roms not bad just feedbacking from day of flashing roms thanx
edhaas... downloading now, wil give a run later on!
problem with the wifi it dosn't connect
edward
update:
wifi is ok now after HR
Re: WiFi
edward-riko said:
problem with the wifi it dosn't connect
edward
Click to expand...
Click to collapse
Hi Edward,
Got me nervous (I hadn't checked it), but I'm connected with my home network now. You may have to look up the registry setting to activate "G" capability if your home network is set up for "only G". (Or use a tweak utility that does it for you.) I'm running "G", with a linksys router with WAP, AES security. Works well.
Good luck!
Build No.
Any idea what build number is this ROM (e.g 1620 ....)
--
Thanks
se1095 said:
Any idea what build number is this ROM (e.g 1620 ....)
--
Thanks
Click to expand...
Click to collapse
CE OS 5.2.1620 (build 18125.0.4.2)
To provide my feedback after a couple of hours using....
No problems encountered so far, 3G or WIFI working
Edhaas, as I am really crazy for more RAM, just a suggestion:
Removing application that is rarely used i.e. internet sharing, midlet manager, SAPsettings, streaming media, customer feedback, error reporting and some of the ringtones i.e under the windows\rings folder.
A noob question, noted that from Settings>About>version, the memory in is only 51.02 MB while the total/free storage memory is more than this. Is there any 'truth' in the version memory or just a display?
rgds
Memory discussion!
alancstan said:
To provide my feedback after a couple of hours using....
No problems encountered so far, 3G or WIFI working
Edhaas, as I am really crazy for more RAM, just a suggestion:
Removing application that is rarely used i.e. internet sharing, midlet manager, SAPsettings, streaming media, customer feedback, error reporting and some of the ringtones i.e under the windows\rings folder.
A noob question, noted that from Settings>About>version, the memory in is only 51.02 MB while the total/free storage memory is more than this. Is there any 'truth' in the version memory or just a display?
rgds
Click to expand...
Click to collapse
Happy to help. Glad you're liking the rom. I'm not finding much different in feel from the D-Lite rom (which is a good thing). Everything is working well for me as well. HSPDA, a2dp, wireless stereo over wireless radio in sleep mode sounds great. No lockups so far. All my apps work as before.
Tutorial regarding memory: In this rom there are two types of built in memory, storage memory and program memory. They are physically different and cannot be interchanged via programming. In other roms, the storage memory is broken up and part if it is used as "extended_rom" which is meant to be hidden and used by carriers to put their particular customizations in, which are generally only used once after a hard-reset. This partition was about 10mb in size. Bepe has figured out a modification, which removes this partition and makes the user storage partition (where programs are stored, similar to a disk drive) correspondingly larger. Another partition is used to store the base programs which are "flashed" and include the operating system. Tadzio figured out how to move the boundary of this partition so that smaller roms will free up more storage memory as well.
So, end of history lesson. The storage memory is what is left after all of this, and is used as a "disk drive" equivalent, it is slower than the "program memory" which is like "ram" in your computer. However, storage memory is generally faster than SD card memory, and is preferred especially for "resident" or today screen type programs, because it's instantly available when you first turn on the device. Most of what I and others have done is to maximize the amount of this memory which is available to you, so you can fill it up with programs that load more quickly than if you put them in SD memory. In this rom that free space starts off at 71.47 mb, and then at start-up the operating system allocates some for it's own use, and in other roms customization programs loaded after cold reboot are loaded in there. So, in this rom there are actually 67mb available for the user to play with, which is a ton, and pretty much overkill for 99% of people including myself. As long as there are around 10mb free for the system, the device will work well.
Program memory is "ram". It is the fastest memory and programs in actual use are executed from there in chunks loaded from storage or SD card memory. It starts as 64mb, but the device uses a good chunk of it internally which we have no control over, and so reports the 51.02 mb as what is initially available. However, an additional chunk is used by the operating system, of around 15 mb, leaving the rest for us to actually use. The page pool, which is a buffer used between ram and storage memory comes out of this, as does the ram used by any start-up programs. Generally, as long as you have about 5 mb or so available, the device works pretty well.
[Edit: Addendum: In this rom I have removed error reporting and customer feedback, I'm having more difficulty removing the icons for them however. The other things you mention could be removed, but this would reduce functionality for folks who use those things, and would only add slightly to available storage memory, which as I stated above is already in the "overkill" category. I'll probably cut some more stuff in later versions as I gain experience with this rom, but I doubt there will be any noticeable difference in performance or usability.]
This is a bare-bones account, but hopefully will help you conceptualize things.
Best wishes, and enjoy!
Enjoy the silence!
Added addendum to above. Also I want to report over 50 downloads in less than 24 hours, and no real problems reported. Sounds like another quietly effective launch!
Enjoy your weekend!
Jbed Java MIDlet manager 20070622.2.1 installed but the manager application doesn't opens
edward
ROM hangs and then Hard Resets
Hi Edhaas,
I'm facing issues of Hard Resets.
This is already happenning twice in a day.
I do not have this issue using your last v1.2 versions.
Regards
Fei Yu
fychan,
Y do u need to hard reset? Pls elaborate...
rgds
alancstan said:
fychan,
Y do u need to hard reset? Pls elaborate...
rgds
Click to expand...
Click to collapse
The device hangs randomly.... and once u do a softreset....
It then turns out it hard resets itself.
I'm not sure if its due to MortPlayer?
Anyone have this issue?
Regards
Never experience the problem u encountered... never install MortPlayer
Try running the rom without MortPlayer, c what happen!
rgds
@fychan, I run mortplayer and was going to flash this rom tonight.
What version of mortplayer are you running?
I am currently running 3.31b61 on edhaas's d-lite without issue.
However, on past roms (black 2.5 thru satin and sleuth's developer 2 and 3) I discovered that 3.31RC7 was more stable.
Perhaps downgrading might solve your issue.
fychan,
I can't seem to replicate your issue.
Are you running anything else that might be leading to your strange problem? I ran the latest mortplayer build, playing for a while, pausing, turning off and on, resetting... At no time did my machine reset itself.
BTW, from the little I did see, it looks like a fast little rom here. I can't keep it though as it has the sms/mms together.

Ram availability and Wm 6.1

So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
bartybet said:
So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
Click to expand...
Click to collapse
I'll follow with a really ignorant question.. is there any way to shift the memory to program RAM vs storage? ie. I've got a 6G SDHC card.. I don't care about "bigstorage".. I'd rather see "bigRAM" builds.. but since I've never seen a single one, I'm guessing that isn't possible.. I suppose the flash ROM wouldn't have the write cycles to act as a RAM...
zim2dive said:
is there any way to shift the memory to program RAM vs storage? ...
Click to expand...
Click to collapse
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
bartybet said:
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
Click to expand...
Click to collapse
I thought I remembered such a function from my X50v days..
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Don't get it.
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
I have looked with interest at the new 6.1 ROMs until I search through the posts and find that, at startup, the more desirable ones (with the features I would like), have Free Program Memory in the very low 20MB range. Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM a couple times a day to recover Program Memory and everything is fine. I don't like running this lean and am considering upgrading to a Tytn II (AT&T 8925) with roughly double the memory of the Hermes so I don't have to worry about memory any longer. For me, the 6.1 ROMS with anything worth running and the current memory on the Hermes just doesn't make it. And I love the 8525.
zim2dive said:
I don't care about "bigstorage".. I'd rather see "bigRAM" builds..
Click to expand...
Click to collapse
You are damn right!! Thats my opinion too!
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. [...] With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
[...] Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM [SkTools!] [...] to recover Program Memory and everything is fine.
Click to expand...
Click to collapse
I've the same setting like you, I am running a clean WM6 with my costum apps and I am also about 25 mb Ram (only with Sk Tools Ram tuning).
So, our future cooking motto is: " We Love SuperBigRam-Builds "
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Keep in mind that if you do this, the DLL files etc cannot be loaded in shared memory - so your applications have to load their own instance of compressed DLLs. This can make things VERY RAM hungry on your devices...
I run Pays 6.1 rom and i get about 25 megs at start up with Activesync connected to my exchange server.
I notice some roms have a total program memory of 50 megs and some only 48 megs. Does this mean that the rom can be tweaked to get more than 50 megs of Program memory?
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Does this save Program RAM? Or Storage space?
pvs said:
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Click to expand...
Click to collapse
Thanks. Informative, tho not the answers I was hoping to hear
Free Program Memory
I understand the preoccupation with maximizing Storage Memory. It is the only memory that apparently can be manipulated. But, the exercise seems rather academic to me with the advent of SDHC cards. It isn't storage memory that has ever been a problem for me, it is Program Memory. And Program Memory cannot be expanded (my understanding) so the only solution is to execute fewer or smaller programs if you want to maximize free Program Memory.
Unless we can get someone to develop a "virtual memory" feature that uses an allocated portion of SDHC memory as Program Memory, the only way we can maximize free program memory is by loading fewer applications, normally through a clean and lean ROM. If it could be accomplished, it would still pose speed issues in that the pipe to the SDHC card has to be far slower than the internal memory pipeline.
My 2 cents worth.
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
.
Click to expand...
Click to collapse
Don't understand it either. Do the base 6.1 roms come with that little ram built in? Maybe that's why there isnt an official version released yet. They cant get it to run more then 3 things at a time.
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
sebastianmc said:
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
Click to expand...
Click to collapse
Yeah but slow as hell! Pagepool is made exactly to speed up the PDA by caching some data.
The problem is:
- 26-30Mb of RAM are far from enough for a web browser with flash content
- SD card bus is so slow on latency that can hardly be used as a virtual memory for active programs
- No pagepool or no cache is not an option
Perhaps someone could build ASAP an application that would transfer non-active drivers/apps or less demanding apps to a virtual RAM on the SD and keep the active ones (HTC Home, phone app, Web browsers/games) on the real RAM
One of the best apps for a mobile is OXIO stuff that will free RAM but perhaps the best option is an app that *in case of very low memory* would free non-used ram and would compress the demanding app data on RAM (usually I only run out of memory if I surf on the web with opera or netfront). Of course it would slow down a bit the PDA at that point but at least the app wouldn´t stop and would run until nothing could be really done.
Does anyone knows an app that does this on-the-fly? (auto-free and compress RAM)
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
sebastianmc said:
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
Click to expand...
Click to collapse
Curious ... did you ever test a ROM with a 6 or 8MB PP? That is where the difference is supposed to be notable.
I've toyed with these settings. These ROMs seemed faster at first, but I'm not so sure if there's a significant difference in the long run. As these were my own home-cooked ROMs I was experimenting with, I never kept them for any length of time.
I'd like to know your experiences with large PagePools, rather than the 4MB default.
Thanks!
-pvs
Pumpiron579 said:
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
Click to expand...
Click to collapse
I tried the Kaiser and found it slower than the Hermes even though it had more memory. The thing was laggy. They need to put more powerful processors into these things.

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

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?

Categories

Resources