Memory Leaks...Another way to look at - JASJAR, XDA Exec, MDA Pro General

Hi All,
We all know that Hibernate app doesn't work much and all of us end up having 14 MB RAM without doing anything,we also know that most of it is used by gwes.exe which bloats.
I hv been studying this phenomenon and hv come up with some observations/solution.Pls try and post here.
-One need the Hibernate App(Also called as Oxis Memory) and the one attached.
--The attached app removes all the today plugins with single touch.We all must not be using Today plugins all the time,except when needed.
--So if we follow this, one consistently has 22-26 MB of free RAM, which minimises the call delay,fast opeing of Messaging App, etc etc.
--I use,iLauncher,Fizz traveller,vBar, Pocket RSS, Speed Dial as Today Plug ins.When I use the app, I have 22 MB and when use Hibernate App o this my RAM increases to 24-26 MB.With MSN on line and NetFront 33 Running I have 18.6 MB of free RAM...
I think this helps little bit so far to solve this Memory Problem

Did you used it with WM05 (Xda Exec) ?

Related

Free Program Memory problems in XDA Mini

Does anyone experience the free program memory problems in XDA Mini? In my case, after a day of usage, the memory reduce to 14 mb, when doing a soft reset, the free program memory go up to 24 mb, means I need to soft reset every days?
Note: normally I use the phone, Pocket Informant (calendar, contacts) and sms only.
Instead of doing soft reset, just go into:
Settings - System - Memory - (Running Programs tab).
You'll probably find a lot of open programs there. Close them.
Seems to be a major design fault in the Windows Mobile OS. But then again this is product from Microsoft we are talking about - not exactly a shock that they would, without hesitation, release software with such a major failing.
I think what IvorNeo 2 means is that even without any active programs, the storage/program memory will become very low over time. This has happened to me as well. With only Activesync and Batmon 2 active, memory level fell to sub-500K level and phone needed a soft-reset to regain functionality. Phone was not in use at the time (charging).
There are some other threads discussing how to free up memory, but I haven't come across any fixes for this particular bug (yet).
i have the same problem
in my s100 , the memory reduce to 19 mb,after 2 or 3 days when doing a soft reset, the free program memory go up to 27 mb
mhtay
There are some other threads discussing how to free up memory, but I haven't come across any fixes for this particular bug (yet).
Click to expand...
Click to collapse
Very nice , if someone can solve this bug
Regards
For me there are are 3 reasons why memory starts to decline:
Activesync eats up about 3MB each time you sync up and though it returns some when you kill the app it does not return the entire amount
html cache files when I surf with the device - gotta empty these along with the cookies...etc
duplicate processes and notification ques that pile up when you soft-reset the device. Over time these tiny bytes add up.
There's no fix for the main culprit of the memory loss - Activesync, maybe newer versions won't be so bad.
the same problem to me, I`m nor sure if it`s beacuse of aactive sync
This happens to my girlfriend's Mini and she does not browse nor does she use Activesync. Also I installed a program to get rid of the duplicate ques. In theory then she should not lose memory but she still does. It is just how Windows works....when you use programs you never get back 100% of the memory upon closing. Soft resets are just a necessary evil with Windows.
The latest version of SKTools has an additional neat feature to free-up RAM.
sk tools very useful program
but even this one works not so good as a soft reset.
Or with 64 mb RAM you can use oxios memory
http://www.oxios.com/memory/
be sure your programm memory less than 21mb while trying to free your memory up.
I have quite a lot of programs installed, most of them in Storage and TT5.x in SD card. Most DLL's also in Storage. I set my Prog Storage memory to 6.5-7 MB and I have over 30 MB for programs after applying SKTools FreeUp RAM utility.
rustoss said:
Or with 64 mb RAM you can use oxios memory
http://www.oxios.com/memory/
be sure your programm memory less than 21mb while trying to free your memory up.
Click to expand...
Click to collapse
Isn't this a smartphone software? Will it work on wm5?
find out!
for magician good solution
@rustoss,
does this little applet close the running processes automatically once exitted?
thanx
hibernate.exe emulate filling memory till 90% & then system trying to clean possible RAM by itself i think so, i know exactly this action do the SKtools's freeupRAM, noone prog or process cannot be terminated by both.
closeapps.exe can!
a question about the topic: Rustoss do u have posted any prog here? because I'm not seeing it if it is
MocciJ
No, just put

Amount of user mamory in Universal

I would like to verify the amount of user accessible memory on JasJar. I have the test unit with 1.11 system, but what bothers me much is the problem of memory - In the Settings\DeviceInformation\Hardware I have:
RAM size 64 MB,
FLASH SIZE 128 MB,
Storage Size 43.72
But If I open Settings\Memory it is only
Storage 43.72 MB
Program 47.93 MB
Where is the rest to fill 128 MB??
lukasz
I think (although i may be wrong) that the OS and preinstalled apps are using 84.28mb of the storage memory (the ROM - hence only 128 - 84.28 = 43.72mb storage available) and a portion of the RAM when running (hence only 47mb of the 64mb of RAM being available). Remember that WM5 uses ROM for persistant storage of data and RAM is used in the same way your desktop PC does (state, running code, cache etc).
...also - 'user mamory' ? :shock:
tintoy said:
'user mamory' ? :shock:
Click to expand...
Click to collapse
I bet he feels a right tit!
RAM
HI
If i see the possible amount of RAM (for the running program) it's 47,93 Mb. After hardreset (before install any application and stopping the automatic loadaded program) i can use just about 30 Mb. It's normaly? Can I enlarge it somehow?
Breki
Re: RAM
Breki said:
HI
If i see the possible amount of RAM (for the running program) it's 47,93 Mb. After hardreset (before install any application and stopping the automatic loadaded program) i can use just about 30 Mb. It's normaly? Can I enlarge it somehow?
Breki
Click to expand...
Click to collapse
No. 47Mb is what you get AFTER the WM5 core OS parts have been loaded. Anything that is taken up from there (47-30Mb is 17Mb) are today plugins, applications, task switchers, operator customizations etc. Unlike WM 2003SE and earlier editions, there is no slider anymore, and the available RAM memory is fixed. So either wait for PPCTechs to provide a RAM upgrad efor the HTC Universal or limit yourself in the choice of starting up your most crucial applications. (and use a task switcher to close the programs instead of minimizing them ;-)
A RAM upgrade would not increase the program storage available (and would only shorten the battery life). It woudl only increase the amount of memeory available for running applications and this si hardly under stress even at 64Mb.
A ROM DOC upgrade would be a different matter. I ntoice the repalcement for the Dell Axim X50v has 256Mb ROM - very much a WM5 design consideration!
Re: RAM
I understand, but when i have just 30 Mb I was after hardreset. No plugin, no other programs, with the reset i stopped the antivirus and other factory default program load from extended ROM. No installed programs, full empty. Just the brand new PDA. How can free the 47-30 Mb RAM?
Breki
Maybe because you have a test unit with a pre-release of the WM5 OS? I suggest you ask I-Mate to provide you with a release version of the WM5 OS first.
Eh? So are you saying that after a hard reset, prior to any operator customisation apps running (ie, a with a very clean base installation of WM5 running), you only have 30Mb RAM? (and i guess you also have a little more ROM as none of the apps have installed to storage memory from the extended ROM).
To clarify: when do you have 30Mb free RAM and when do you have 47.93Mb free RAM?[/u]
Wiz said:
Maybe because you have a test unit with a pre-release of the WM5 OS? I suggest you ask I-Mate to provide you with a release version of the WM5 OS first.
Click to expand...
Click to collapse
As i see maybe
My ROM is 1.12.38WWE
Radio 1.03.00
Protokol42.36.P8
How can i get an actual ROM?
Breki
Breki said:
As i see maybe
My ROM is 1.12.38WWE
Radio 1.03.00
Protokol42.36.P8
How can i get an actual ROM?
Breki
Click to expand...
Click to collapse
I have 1.12.42WWE, but that is in my MDA Pro. Anyway, 1.12.38 looks like a release verison to me, not a test version.
My JasJar, as bought from Tottenham Court Road (so definitely not a test model) is as follows:
Rom Version: 1.12.38 WWE
ROM Date: 08/24/05
Radio Version: 1.03.00
Protocol Version: 42.36.P8
ExtROM Version: 1.12.120 WWE
No idea what my free memory is like after a hard reset, but I have over 30Mb free when it's in it's normal state (with Pocket Breeze running etc)...
Memory amout -again
Sub 69 - just to make things clear could you please post the following:
In the Settings\DeviceInformation\Hardware:
RAM size ? MB,
FLASH SIZE ? MB,
Storage Size ? MB.
And in Settings\Memory
Storage ? MB
Program ? MB
Lukasz
Thanks to my running SBSH weather, SBSH pocket breezee and pocket plus I get down to about 20Mb free before I've even done anything!
In my case, running SPB Diary, SPB Pocket Plus and PocketZenPhone leaves me with 25Mb RAM free.
But, please do not forget that:
HKEY_LOCAL_MACHINE\Init also contains services that are launched and that come out of the RAM
HKEY_LOCAL_MACHINE\Services also contains services & apps that are launched and that come out of the RAM
I am curious to see how much memory will be free when booted up in safe mode
Wiz said:
I am curious to see how much memory will be free when booted up in safe mode
Click to expand...
Click to collapse
How can I do that?
Breki
Lucasz...
RAM: 64Mb
Flash 128Mb
Storage: 43.72Mb
Storage Tot: 43.72
Storage Used: 9.50
Storage Free: 34.22
Program Tot: 47.93
Program Used: 17.64
Program Free: 30.29
Although after a soft reset, I think there's more free Program memory.
Am in a hurry to get home for the football now though...back later!
Does anyone have any rec's. for applications that can break down memory usage on a per process basis (like the windows task manager)? I'd like to see which ones are the memory hogs and decide if I really do need them... I hear pocket plus is a killer!
Memory management...
Hmmm, Just to stop for a little while on the "Program" memory subject -
After few hours of regular use I have verified that have 15.11 MB available, after RunningPrograms \STOP ALL there was 15.21, but after softreset there is 19.79 ! so there is definately some kind of the unlisted or "system" proceses which steal RAM. I hope it will be solved in the future releases of the system. Some kind of the task manager to see what is going on would be a nice thing. Luk
tintoy said:
Does anyone have any rec's. for applications that can break down memory usage on a per process basis (like the windows task manager)? I'd like to see which ones are the memory hogs and decide if I really do need them... I hear pocket plus is a killer!
Click to expand...
Click to collapse
i read somewhere on here that memmaid works fine in wm5, that shows processess running and alot of other info

Memory leak

Hi all.
The topic was actually started on pdaclub.pl, but because I have the same problem I decided to start it here too.
After soft reset i have 21,8 MB of free ram after a day (doing some things) i have about 17 mb of free RAM and no apps running. After a day I have ~12 MB and it keeps shrinking. At the end it lags machine alot untill soft reset. (7 MB is not enough for WM50 )
I know there is a problem with some memory leaking programs [especially today plugins]. Mine Today Plugins are
SPB Pocket Plus, SPB Diary, SPB Weather, RhinoStats, TodayQuotes
I have notified the problem before installing last two.
My ideas for the beginning are:
1.) remove/replace memory leaking progz (unless it is Windows ).
2.) somehow clear leaked(unusable) memory (maybe a prog running scheduled)
And what could be great improvement somehow add some MB from storage/extended_rom to RAM (maybe it is nonsens).
Is it problem with my (and some one) device/configuration or this is standard problem?
I have latest ROM from I-mate (with AKU2.0)
Hi
HI
I also have the same problem. I have a T-mobile MDA. No pograms are running not even SPB today plgin (removed it) but still i have only 25 MB of 44 MB memory.
Not sure what is the issue.
beacuse rest is dedicated to running system. My problem is with leaking that rest 25 MB.
Now I have about 12 MB and nothing running.
Take out Spb-Pocket Breeze they leak like a 80yr old...
The thing is anything used [OPENED] will use a Bit of the RAM memory and once u close it 5% of the RAM used while the program was running will be still used b'cause of the Leak.

gwes.exe just keeps growing

hi
I use MemMaid and the running process that uses the most memory is "gwes.exe".
the problem is ,that the amount of memory it uses just keeps growing,rising on a daily basis .I've found that a soft reset brings it right down again :lol: ,but then it starts to rise once more .
Does anyone have a similar problem?
Is there any way of bringing down its memory use without soft reset?
markbrudney said:
hi
I use MemMaid and the running process that uses the most memory is "gwes.exe".
the problem is ,that the amount of memory it uses just keeps growing,rising on a daily basis .I've found that a soft reset brings it right down again :lol: ,but then it starts to rise once more .
Does anyone have a similar problem?
Is there any way of bringing down its memory use without soft reset?
Click to expand...
Click to collapse
same to me. 10MB was the size of it. killing it makes the device freeze
don't kill gwes, it is a system process, stands for Graphics, Windowing and Events Subsystem.
i dunno why you get the memory leak, i don't. i always thought spb pocketplus is the culprit, but someone just claimed he had no leaks while using spb+. but give this a try if you happen to use it...
Same here and that is not just with gwes but with many other system files, but gwes is of course the biggest. Isn't this an issue with WM5?
I also use OxiosMemory and try to mitigate this by forcing the processes to release resources not in use, but that does not elimate this issue completely.
harryk1372 said:
Same here and that is not just with gwes but with many other system files, but gwes is of course the biggest. Isn't this an issue with WM5?
Click to expand...
Click to collapse
no, the explanation is not this simple. i run the same wm5 as you and i dont have this problem.
cmonex,
Can I ask you what apps you run? It might be the apps I am running that you do not run is causing the memory leak.
harryk1372 said:
cmonex,
Can I ask you what apps you run? It might be the apps I am running that you do not run is causing the memory leak.
Click to expand...
Click to collapse
i leave these constantly running all the time:
magicbuttons
taskmgr v1.6 (from buzzdev)
uptime
also usually leave these running:
totalcommander
opera
messages (sms)
occasionally using:
iGO 2006
Netfront 3.3
PQZII
vijay's full terminal screen hack
ftpsrv
phm regedit
tre regedit
adobe acrobat
mobipocket
wmirc
softmaker textmaker (wow sucks why no real vga)
tcpmp 0.71
hope this helped what apps are you running?
cmonex said:
hope this helped what apps are you running?
Click to expand...
Click to collapse
Thanks for that. What I run is quite a few and some are same as yours. The biggest difference is that I run Wisbar Advance 2 and Wisbar Advance Desktop to skin the GUI.
The apps I am constantly running:
Wisbar Advance 2
Wisbar Advance Desktop
SEVEN (mobile push email)
ATOK (IME for Japanese language)
DefSIPChange (changes default SIP)
PQz
The apps I am running occasionally:
Backup and Restore
GSFinder
MemMaid
Oxios CloseApps
Oxios Hibernate
PHM RegEdit
JpegCapture
TCPMP
VeriChat
Warm Reboot
GB-SOFT Tweak
Pocket Tweak
I will have to check the ones I am constantly running to see if any of them is causing this problem but it could be the first two on the above list.
hi
I run:
contacts
calendar
comm manger
internet explorer
resco file explorer
MemMaid
games
These I run most of the time and I frequently have to switch them off in settings/system/memory in order to keep a reasonable amount of memory free
However gwes.exe never decreases
Can anyone see a link?
markbrudney said:
hi
I run:
contacts
calendar
comm manger
internet explorer
resco file explorer
MemMaid
games
These I run most of the time and I frequently have to switch them off in settings/system/memory in order to keep a reasonable amount of memory free
However gwes.exe never decreases
Can anyone see a link?
Click to expand...
Click to collapse
hummm i didnt list the builtin apps but what i use from them is contacts, comm manager, PIE (very rarely), messages (only for sms), word... (sometimes the other office stuff too) would use calendar too but i always forget to note my todos in it
+ and i forgot to list nPOP (for emails) and a screenshot maker (magic something)..
anyway what you run doesn't sound too bad, if you really use no today plugins.. i got no idea.. what ROM version do you run?
The growth is because it caches icons (start menu - programs - settings) to speed up the display. At least that's my best guess!!!
hi
rom version:1.30.107 wwe
I did a soft reset today and gwes.exe went down to 4.22MB
I then ran only the wifi (comm manager) and gwes rose to 4.35MB
I ran it again after switching it off in settings/system/memory and it rose to 4.78MB
when I switched it off again in settings/system/memory it came down to 4.56MB but its obviously where the leak is.,because I didn't run anything else.
the problem is how do I stop it?
Hi all there,
same problem with my german VPA IV (Vodafone) even after several ROM upgrades (Jasjar, qtec, new vodafone ger) no changes of this strange behavior
I really hope, there's anybody out there, who can help us with this annoying thing.
This gwes.exe issue is experienced with WM2003SE as well. I found this in one of the threads in Windows Mobile Team Blog.
"With WM2003SE, I had issues like GWES.exe growing until I ran out of RAM. So, I purchased WM5, hoping the repurposed strata flash and new OS would resolve the issues."
You can also refer to below for gwes.exe in detail.
http://msdn.microsoft.com/library/d...ui5/html/wce50conshellanduserinterface146.asp
Someone was saying earlier in this thread that gwes.exe caches icons. That might be true but may not be just icons and that explains why gwes.exe grows. Or, it might be that some apps you are running are causing memory leak but that is not easy to spot on.
A workaround to this I use and can recommend to anyone having this problem is Oxios Memory 1.40. It's free!
http://www.oxios.com/memory/
One of its apps is Oxios Hibernate. WM_HIBERNATE is a window message that is generated by the Windows operating system and sent to an application when system resources are running low. All applications should get the message and handle it by attempting to release as many resources as possible by unloading processes, destroying windows, or freeing up as much local storage as possible without damaging the internal state of the system.
I normally run this whenever the free memory space gets low like down to 15MB before my device gets unstable. I normally gain quite a bit by reducing the sizes of gwes.exe and all other processes running are occupying and that I don't have to reboot my device everyday. Check the size of gwes.exe with MemMaid before and after you run this and you will notice how effective it is. :roll:
thanks harryk1372,
Oxios Memory 1.40 is great and I managed to release 3MB of memory.
However none of it came off gwes.exe.
Just a matter of interest ,how many times should I use Oxios Hibernate?
Every time I press it,I get some memory back.
markbrudney said:
thanks harryk1372,
Oxios Memory 1.40 is great and I managed to release 3MB of memory.
However none of it came off gwes.exe.
Just a matter of interest ,how many times should I use Oxios Hibernate?
Every time I press it,I get some memory back.
Click to expand...
Click to collapse
Maybe that gwes.exe did not have any resource to release at the point you ran Oxios Hibernate and it was already close to the bare bones. Try running Oxios CloseApps as well as Oxios Hibernate. CloseApps closes processes running in the background and that releases the memory used by those.
You do get some memory back by running Hibernate multiple times but the actual amount you get back is very small after the first run although the dialogue may say it is like 2 to 3MB released every time. I am not sure why this is but I think it is no use running it multiple times. Just run it once or twice a day when you find that the free memory is low.
As I wrote in the earlier post, Oxios Memory is just a workaround I found. It does not eliminate the problem completely and the memory resources used by the processes running will never go down to the level of right after the reboot of the device. I experienced that gwes.exe gradually grows in several days to the point when I need to reboot my device even with running Hibernate from time to time. It's just that I don't need to reboot it like everyday.
thanks harry
thank you very much
hey i had the same problem that is mentioned here....
i was running spb pocket plus when i noticed this....
now with ilauncher and spb diary i have around 25 mb at start up and hardly if any memory leak....
with ilauncher alone i have around 27.5 mb
also some software have been updated like pocket informant webis mail..my experience with them shows me that they have next to no memory leak...
what i have noticed is that applications which are not designed for wm5 have terrible leak....case in point....girders which i a game with simple graphics leaves me with only 9 mb when i exit the app...while with skyforce 1.22 (wm5) the leak is hardly 100-200kb
you could try htcAddicts:
http://forum.xda-developers.com/showthread.php?t=487490
it seems to be more powerful than Oxios

Program Mem (RAM) getting less&less

Dear All,
I run the O2 XDA as is w/ 4 heavy add applications, Navi, PIM, Wallet and Blackberry.
I start w/ 50% RAM usage after soft-reset. After some days I see 75%
There is either a memory leak in the applications, or DLLs are sitting there and are not unloaded from mem.
IS THERE ANYWHERE A TOOL TO MANAGE AND REVIEW THE DYNAMIC MEMORY ALLOCATION (RAM) ??
Thank you for info.
Regards
Hans Kurscheidt
lve0200 said:
Dear All,
I run the O2 XDA as is w/ 4 heavy add applications, Navi, PIM, Wallet and Blackberry.
I start w/ 50% RAM usage after soft-reset. After some days I see 75%
There is either a memory leak in the applications, or DLLs are sitting there and are not unloaded from mem.
IS THERE ANYWHERE A TOOL TO MANAGE AND REVIEW THE DYNAMIC MEMORY ALLOCATION (RAM) ??
Thank you for info.
Regards
Hans Kurscheidt
Click to expand...
Click to collapse
I am not aware of one. The Sktools application has some useful clean-out stuff and has an option to manage running processes. It does not sadly show their %Ram usage figures.
Mike
Ram usage
Hi, thank you for your reply.
May be somebody else from the R&D side has something to say.
I recognised that the sum of RAM usage, as indikated by tools like SK or Taskmanager does not at all come close to the RAM usage indicated by System resources.
Hans Kurscheidt
Sorry to post to myself,
but I found out that after soft reset, Task manager tool and mem maid show significantly different memory allocation for the processes running after reset. For example filesys 2,85 Mb versus 2,4 Mb.
What to believe ??
All in all, I come close to 8 Mb mem usage for the processes. with 49 Mb free, I count 56 Mb. If the total RAM is 64Mb, where are the other 8 Mb? Can this be other code, copied into RAM for execution ?
Does somebody know, if the display has its own memory ?
Rgds
hk.
lve0200 said:
Sorry to post to myself,
but I found out that after soft reset, Task manager tool and mem maid show significantly different memory allocation for the processes running after reset. For example filesys 2,85 Mb versus 2,4 Mb.
What to believe ??
All in all, I come close to 8 Mb mem usage for the processes. with 49 Mb free, I count 56 Mb. If the total RAM is 64Mb, where are the other 8 Mb? Can this be other code, copied into RAM for execution ?
Does somebody know, if the display has its own memory ?
Rgds
hk.
Click to expand...
Click to collapse
Might be worth reading here:
http://forum.xda-developers.com/showthread.php?t=286313
Mike
Thanks,
have done that before I opend the new thread, but there was no answer to my questions in there.
Rgds
hk

Categories

Resources