Lets debate about Memory Leakage !!! - P3600 ROM Development

Here fellows,
Memory leakage is an issue already known from us all.
In all roms that I've tried until now, soon or later that issue comes up. I haven't understood right why it happens...
It's strange that some of us have and others don't...which lead me to think that it could be a hardware issue....
However, it's strange why it happens. I haven't found yet which application provokes it...
This is the reason why I've created this thread: To discuss/share our experiences, and figure our a pattern. It could happen that we find the reason, and it would help our cookers to solve the problem once and for all...
Please give us your thoughts

Well then there is a prime canidate Explorer, ever tried using the program for more than 10 minutes the whole phone then grind to a halt as the memory is used up.
One soloution seems to be to move the internet cache to the memory card or indeed disable the cache altogether..
The only way I found to do this was to Use Schaps Advance Configuration Tool.
Thats the only problem with memory I have come across.. even my GPS programs work fine only problems seem to be round the official MS crap...

Some people gets it and some people don't because everyone uses different applications... not necessarily hardware issues
SPB software, as good as they are, is quite well known for creating memory leaks.

Generally the HTC Home plugin is also a memory leakage issue, if you try to deactivate it on your roms, you will see that the available memory will remain in good levels around the 20mb region, once you activate it, by the end of the day and depending on the usage you do, it often drops the memory down to 14mb, unable to use a navigation programm or any other memory consuming programms leading in that way to a compulsory soft reset!!!
Ask therefore the people with Kaiser, do they experience the same problem with their devices???? The solution is around the HTC HOME I believe...

Mem leak
The memory leak problem is inherent in WM6, and not due to any particular application that uses that OS.

there is a very simple way to troubleshoot this
Test 1: Reboot the phone, check memory, leave it unused for 24 hours, then check memory and compare
Test 2: Reboot the phone, check memory, leave it on for 24 hours, while only calling, not using any other feature
Test 3: and so forth
In other words, only use 1 app for 24 hours, this way you can easily find which programs leak memory
Although it seems like internet explorer steals all the ram it actually doesnt, it seems to return the ram after 15+ minutes (so when i check ram some time later it will be back to +/- 20mb)

romac said:
The memory leak problem is inherent in WM6, and not due to any particular application that uses that OS.
Click to expand...
Click to collapse
Let's call this BULL ****!
bepe 0.77 is steady as a rock on it's memory usage.

I was already suspicious about HTC home...that it could be the reason...However, I find it strange...Because I installed also AX3L rom, which doesn't have HTC Home, and I had rom leakage also...
If Bepe rom 0.77 is stable, then it would be good to know what it has so different from his other roms....
Who knows if the solution isn't right in front of our eyes, and we just haven't seen it yet...?....
Bye

s1rl4ncel0t said:
Who knows if the solution isn't right in front of our eyes, and we just haven't seen it yet...?....
Click to expand...
Click to collapse
Read http://forum.xda-developers.com/showpost.php?p=1537977&postcount=943
Maybe is resetting, flashing, etc. not the right thing to do. After awhile it look like bepe 0.79 light gives memory back.
I've disabled HTC home, but not because of the memory leakage. I've disabled it because it goes into vibrate on appointments which are set te FREE time (not only busy).

Probably there's a registry key that defines how long it takes to the operating system to release the the used memory...

Even without anything running only the memory meter in the setting after 5 minutes or so you will notice less memory is available, I have noticed that HTC Home Plugin seems to leak too..

romac said:
The memory leak problem is inherent in WM6, and not due to any particular application that uses that OS.
Click to expand...
Click to collapse
The only rom I haven't used is bepe's and the memory leakage occurs on any of them (indigo,axels,pdavanet,mary's,Lwsw, mun's ...) I now returned to wm5 and I always have at least 20MB free even after 2-3 days of usage, I do use the exact same programs that while using on wm6, my ram dropped even to 16MB free

Related

How many times do you have to soft reset per day in average?

I found myself having to soft reset to get the phone back to working order like 3 or 4 times a day... Does this seem normal to all of you?
I had to soft reset mostly due to insuifficent memories when starting BT, 3rd party keyboard etc. And this is with all apps closed. I guess there must be a easier way to kill all running background apps to release memory instead of soft reset. Anyone know a good program that can do that?
The strange part is I have more than 35mb of program memory most of the time when I get the insufficent memory message...
ROM version: 1.22.00 WWE
Radio version: 1.06.02
Protocol version: 1337.38
ExtROM version: 1.12.925 WWE Cooked
I think my average is 2-3 soft resets a day. Mainly when the system becomes unresponsive and/or BT/WIFI stops working. But I had the same issue with my old HP 5455, too. So I guess it is rather a Microsoft PocketPC OS problem...
I very rarely have to soft reset my device, maybe once or twice a month at most and have never seen the insufficient memory warning despite fairly intensive usage.
I use the Omega One Battery Pack Pro software which includes a clever little tool that allows you to close down programs from the top program bar, or even reconfigure the device so that programs close down completely when you tap the X, thus freeing up the program memory.
About once a week or so, and usually not because of a hang but 'just in case'.
I also use BatteryPack Plus. Very useful, straightforward to use and good looking. Adds functionality that should have been part of the OS in the first place.
mate, i do a soft reset around once every 2 weeks. i read in this forum that doing soft resets is actually good for the unit. clears up memory or sort of cleans up the programs. something like doing a reboot for your laptop...or something like going to the loo after drinking a couple o'pints for terminating running programs; you may want to install third-party apps which allow you to shutdown progs from either the task bar or the today screen. example; i still use systeminfo; it displays my battery (in %), the memory usage and the running apps. the third one allows you to switch progs, shut down an app or shut em all down. others use apps which allow you to shut down progs from the task bar; reminds of the little thunderbolt icon on the task bar....what was that app again...
cheers
Mine gets soft reset every Friday after I backup with sprite. Other than that, only if I install a program or change a setting that says "You must soft reset in order for this change to take effect".
I had to hard-reset a few days after I got it (too much messing around, too little knowledge!) but since then, I can't remember having to reset hard or soft due to an error. And that would be about two months now.
Try looking in this post for an program closing app - http://forum.xda-developers.com/viewtopic.php?t=16199.
I recommend PocketNav (which I post at the above link). It's small and ever so easy to use!
Hope this helps!
Dom
I do have Battery Pro, but since there're just too much stuffs on my Today's desktop already, I only have the batt info running. My IIs came with a program that let you close down the running apps already and I've been doing that. But still, I'm just wondering how BA is handling memories. Like I said in my original post, I always maintain no less that 35Mb of program and storage memory each, I just don't understand how is it am I running out of memories... Or is it another type of memory that I need to free up??
It might be the Driver memory, have read in some other forums that there's a portion of memory reserved for drivers and that you can get a warning about THAT memory even though there is NO way to monitor it!! Resetting helps in these scenarios so it might be that.
If you're having issues specifically around bluetooth what build of bluetooth are you running? Anything less than build 3500 is reportedly unstable and gives this error a lot, I saw this error several times in the first few days, was resetting every couple of hours, but having applied the build 3500 patch I've HAD to reset twice in 3 weeks... once because the whole thing seemed to lock up, no buttons/screen would work (not even off!) reboot fixed, and once because I was having issues with an SD card, and resetting seemed to make it see it ok.
If you need the BT patch I have a copy, send me a PM
Thanks Sazoo, but I have 3500 already I don't know why, maybe it's because of some of the 3rd party software I've installed is draining memories... I still get the driver memory error a lot even with 3500 stack.
What exactly is driver memory anyway? Any program to free up driver memory?
Bout twice per day as Bluetooth requires this every so often Grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Hmm.... My problem seems to be the M$ Voice Commander... As suggested in another forum, I removed it and everything runs twice as fast... But I really missed the voice functions now
Gazza, I know what you mean. If my Bluetooth loses connection, I then have to soft reset the PDA for it to find the connection again. Pain in the bum!
No sound during calls
I have to reset every day. For some strange reason my speaker doesn't work anymore during phonecalls after during some other applications. Until now I can only solve it by a reset.
If anybody has a clue on how to fix this problem in any other way. Please let me know.
Until Friday I had never had to reset it, as far as I can remember. Then I tried a BT car mounted handsfree from MTU. (Before that I had never even turned on BT, I wouldn't use it for anything else than a handsfree after my experience with other PPCs). Since that my microphone has stopped working twice, the unit complains just about avery second time I turn it on that the storage card isn't formatted (which it is), all in all it drives me crazy! I need to do a hard reset tomorrow to clear up all this. Unfortunately I have been sloppy with backups since the last hard reset. That was for the latest firmware upgrade, and I found out that I had to do a new install since a restore reverted the WLAN driver updates (so that was as much of a software update as a firmware update).
I have to soft-reset 2 or 3 times a day.
I don't use Blue-tooth.
T
Once a week max, but used to have that prob wit BT stack being out of mem. fix was to upgrade to new rom from 02 and remove MS Voice Command.
02 ROM:
Rom Version 1.31.00 WWE
ROM date 12/13/04
Radio version 1.06.00
Protocol version 1337.38
ExtROM version 1.31.139 WWE
MS Voice command:
this app eats memory and each component (i.e. voice dail, media play, app launch) takes up more. It's madnes but after looking at process usage it's clear as day.
Depending on how much I use it, but about every 7 minutes of PDA use it freezes, or roughly every 5th app I open will lock up.
If I haven't recieved a phonecall/message for an hour and a half it's usually an indicator that the radio part is not working and requires a soft reset.
Average 6 - 7 times a day as standard. With 'connections' removed from startup perhaps 5 - 6.
I find I'm resetting twice a day on average. Lately it's been because the phone just stops responding or the screen refuses to come out of its sleep after being switched "off" via the button... and then finding out that I missed several phone calls because the phone has been sitting in a crashed state! Very frustrating.
I used to own an iPaq 3630 and NEVER had to reset except when installing software that required a reset... and that was running PPC2000 and 2002.
when i got my BA, i had to soft reset 6 times a day from day 1. i downgraded to the o2 rom before the newest one i had, then i never had to soft reset after that, now i upgraded to imate 1.40rom and i havenmt needed to soft reset sincve then either.

WM6 memory leak?

Has anyone else noticed that the memory in WM6 seems to drain as time goes on? I have tried closing all open apps through the task manager (Dash), but at the end of the day there only seems to be about 3k max of memory left? Although WM6 seems to handle programs well at low memory, I would like to see what's causing this.
Any ideas?
I've noticed after a while it fails to display the home screen. Might be related to memory so I'll check how much is free next time that happens.
mine has never failed to show the homescreen, but i use the default wm theme. i have read about others that have had the disappearing homescreen when using the windows live theme
Yeah. The leak is awful. I have deleted all kinds of stuff, but even with Oxios Close, I can't get above 10000 after half a day, and have to restart.
Might be similar to what Vista does... uses up all available memory for caching... and if more is needed, it just flushes some of the cache to fit it in.
Not a bad idea, since it speeds up frequently used programs.
i know i sound like a noob this is the first time i ever ask something like this but where did you all fine ur wm6 for ur dash thanks!!
anthoneous said:
i know i sound like a noob this is the first time i ever ask something like this but where did you all fine ur wm6 for ur dash thanks!!
Click to expand...
Click to collapse
follow this link and click the rapidshare link
http://forum.xda-developers.com/showthread.php?t=293846&page=5
I have also noticed this leak problem. It gets down to 4MB memory and quiting all problems using spb pocket plus does not clear any memory. Only a soft reset fixes it.
I can see how it's a good idea in terms of caching but that only seems to work until the memory gets down to 4M then any new apps running become painfully slow and sometimes the phone appears to have hung completely.
closing all apps in WM5 used to free back up to ~24MB
nahguam said:
I have also noticed this leak problem. It gets down to 4MB memory and quiting all problems using spb pocket plus does not clear any memory. Only a soft reset fixes it.
I can see how it's a good idea in terms of caching but that only seems to work until the memory gets down to 4M then any new apps running become painfully slow and sometimes the phone appears to have hung completely.
closing all apps in WM5 used to free back up to ~24MB
Click to expand...
Click to collapse
I don't have any of the problems with painfully slow apps, even when there is no free memory. I'm pretty sure it's not a memory leak, and is just caching.
I get the same thing...
I have made it a habbit to hit back after every thing I do, it helps.
Also when you go to task manager and you want to stop programs stop them all individually then click stop all, that seems to help me a bit.
I used to get 3k free by doing stop all now i get over 9k most of the time when i stop em one by one then doing stop all.
We need to plug this leak up!!
I have the same problem with the "official" wm6 from T-Mobile. They didn't fix this issue with the official version.
leak on rogers rom
Easiest said is Ditto with the rogers wm6 rom.

Serious memory leaks on the Dash

My Dash suffers from serious memory leaks. Just looked at task manager (because no apps would run due to low memory) and it has just 200kb available.
I have no apps installed on the device itself.
Shutting down all programs returns just 500kb.
If I reboot the phone I get 21,000kb available, but give it time and it will all have leaked away again.
I've had many different WM smartphones and they have never done this.
A great product with buggy software
Odd... this isn't an issue on my WM6 Dash...
Pagemakers said:
My Dash suffers from serious memory leaks. Just looked at task manager (because no apps would run due to low memory) and it has just 200kb available.
I have no apps installed on the device itself.
Shutting down all programs returns just 500kb.
If I reboot the phone I get 21,000kb available, but give it time and it will all have leaked away again.
I've had many different WM smartphones and they have never done this.
A great product with buggy software
Click to expand...
Click to collapse
Strange. Others are saying the same thing http://www.modaco.com/index.php?showtopic=255238&hl=memory (toward bottom of page).
I find that even if I quit all programs using task manager I am not returned to the same amount of memory as when I first boot up. Sometimes it can be as low as half or a quarter.
Guess I'm lucky. I disabled a couple things in the startup folder, MyFav and the voice recognition program, things became a lot zippier after that.
Pagemakers said:
Strange. Others are saying the same thing http://www.modaco.com/index.php?showtopic=255238&hl=memory (toward bottom of page).
I find that even if I quit all programs using task manager I am not returned to the same amount of memory as when I first boot up. Sometimes it can be as low as half or a quarter.
Click to expand...
Click to collapse
ya i have the same problem ( i de-activated myfaves and voice command) and when i boot up i have about 21K of free memory. a little while later i re-check my memory and its around 18K! towards end of day, even with all programs closed through task manager, i only have about 9K left. i dunno, its ridiculous. now i always turn it off for a few minutes at night, ha but then i run the risk of getting that endless boot up loop....
omaralt said:
ya i have the same problem ( i de-activated myfaves and voice command) and when i boot up i have about 21K of free memory. a little while later i re-check my memory and its around 18K! towards end of day, even with all programs closed through task manager, i only have about 9K left. i dunno, its ridiculous. now i always turn it off for a few minutes at night, ha but then i run the risk of getting that endless boot up loop....
Click to expand...
Click to collapse
I also have this problem. One of the reasons I don't like Windows Mobile.
I wonder if it is leaking from IE. My Temporary Internet Folder never gets higher than a few k. On WM5 this could be several megs in size.
Anyone else getting memory problem on the WM6 Dash?
Use Oxios CloseApps...it helps a little
I'm fully resolved to the fact that it's just a combination of an OS that doesn't really manage memory well combined with applications that don't really clean up after themselves well either.
So, to make it through the day, I use Oxios CloseApps throughout the day. It seems to be the best at recouping memory. It's free (bonus!) and is very simple to use. You run it and it tells you how much memory it gained back and then you hit "ok" so it closes. Easy.
I'm also fully resolved that I have to reboot my Dash 1-3 times a day depending on how intensely I'm using it.
Welcome to the world of WinCE/PPC/Windows Mobile/Windows Mobile Smartphone/WM6!
C.
Your home screen plugin can affect your memory usage as well.
I had the same problem with mine which actually led me to return it. It was actually for several reasons, but particularly I felt like I was sitting in front of an old 386 backtracking my steps making sure I don't run out of memory like in Windows 3.1.
For one, I couldn't install the software I wanted to install on it even after registry tweaks and unlocks. The memory leak got a lot worse once I upgraded to WM6. Most of the time after multi-tasking for a bit, my memory stayed around 10MB with ONE application running. If I surfed the internet for 5-10, it usually made the drain even worse by a couple more MB and I had to reboot.
What actually broke the camel's back was when I went to send an MMS to someone and the file was at 356K. No big deal, it gave me the option to resize. Yeah. The resize neverworked the way it was supposed to. It didn't matter how low I picked the options. I picked 160 X XXX with extremely low quality and it would come up with a message telling me "Your message is 356K so it cannot be sent." and plop me right out of the message and I would have to go dig for it on my card again! (Still couldn't resize it though)
I'm very good at managing memory and getting around bugs, but that was just a little too much for a cell phone. Don't get me wrong. I love the phone! I HATE the software/OS! Would've been the perfect phone had it not been for the leaks, even if I couldn't install the software I wanted to!
Wow. I'm not going mad!
They are exactly the same issues as I am having.
maruichan what was the problem like with WM5?
Memory
I'm using Fizz Monitor to really shut down the applications.
corfou said:
I'm using Fizz Monitor to really shut down the applications.
Click to expand...
Click to collapse
Does it help to stop the memory leaking??
Is it better than oxios?
I don't even look at the free memory- my MDA Mail never slows down or crashes no matter how small the memory gets. I used to constantly check the memory on other devices but for Smartphone it does not seem to matter as much.
When you get a 'problem' with lack of memory it is a problem, otherwise just ignore it...

A Myriad of Problems

I suppose I should state I'm running NRG Rose Rom v1.7, and my Dash is about a year and a half old.
Mainly and most annoying, is a terrible memory leak. It seems that after an hour of being on, my phone will drop down to about .60 MB of RAM and ultimately freeze. I'm habitual about closing programs and using the free memory function in Celetask. After awhile, even that wont bring back any memory at all, sometimes it takes memory away and makes the phone freeze.
Now, I'm noticing that my phone is just randomly shutting off. (When ever it feels is most inconvenient to me, it seems.) Now, I don't know if this is due to a failing battery, or my poor elderly Dash's long life, but some insight would be wonderful.
Even after clearing the storage the phone was laggy. I'm thinking that my Dash's days are numbered now, but I really hope not. I love this phone, and I don't have any money to get a new phone right now.
My Phone is freezing alot as well. It seems like every other time I go to wake the phone up from its lock mode it freezes up. I'm using Kavana's 6.1 rom. I as well use Celetask to quit running processes but even when nothing is open and running the phone freezes.
try the newest kavana rom based on chinese rom...it manage alot better memory...
Yeah, this is getting annoying. My phone has froze twice since I posted this thread.
Same problem for me with the Rose ROM. Kavana's 0123 ROM is a lot stabler. Give it a try.
thats why i dont use the rose program no more it made my phone heat up and crap
Donaldpilger said:
I suppose I should state I'm running NRG Rose Rom v1.7, and my Dash is about a year and a half old.
Mainly and most annoying, is a terrible memory leak. It seems that after an hour of being on, my phone will drop down to about .60 MB of RAM and ultimately freeze. I'm habitual about closing programs and using the free memory function in Celetask. After awhile, even that wont bring back any memory at all, sometimes it takes memory away and makes the phone freeze.
Now, I'm noticing that my phone is just randomly shutting off. (When ever it feels is most inconvenient to me, it seems.) Now, I don't know if this is due to a failing battery, or my poor elderly Dash's long life, but some insight would be wonderful.
Even after clearing the storage the phone was laggy. I'm thinking that my Dash's days are numbered now, but I really hope not. I love this phone, and I don't have any money to get a new phone right now.
Click to expand...
Click to collapse
Try downloading and installing original ROM and see if problem persists. If not, It´s probably the rom itself.
Alternatively, you can try OXIOS MEMORY (Official site is down as i´m writing this) to see if things get right.
I´ve tried all flavors of rom, and the best one for me (when you talk about resources and funcionality) is Ricky´s version of Kavana´s.
NRG´s rom is awesome, full of funcionalities, but it didn´t work for me.
Regards.
Thanks to everyone for their suggestions, I'll try what I can tonight if I end up back at home.
i had that problem when i change the page pool to 4 mb but i reflash and the problem stopped. maybe it can help you
i feel your pain with the memory leaks... im pretty on top of things when it comes to watching what programs i have open. but with NRGs ROse ROM, i have had to reset very often to avoid loss of data. I use my phone often to take notes and update spreadsheets while out and about working. Having the phone lockup and have to remove the battery only to lose the latest data ive either input, or loose a few conversations on sms, it is wearing on me.
i am going to install Rickys version on Kavanas ROM, lateset release, to try that one again. I dont remember having the same leaks in memory as NRGs. Wasn't the Rose version supposed to be "lite?" While i did enjoy alot of the apps that came "stock" with NRGs version, the memory leak is a drain on me as well as my phone!
Does anyone know the proper way to close a program? I'm tired of having to go into the task manager to close them.
That is the proper way
NRGZ28 said:
That is the proper way
Click to expand...
Click to collapse
Chuckle Chuckle
Or you can use SmartToolKit to which will let you close programs with right softkey "Search this forum" as have posted several times

TP2 slowdown - filesys.exe and compaction issues

My touch pro2 usually works great, but from time to time becomes agonzingly slow loading programs or doing anything. This can last for quite a few minutes and means if I want to quickly use my phone for something, it takes ages or I just give up and try later when all is back to normal.
Task manager showed me when this happened the filesys.exe process was running at 30-50%. Googling this lead me to all the many pages about the compaction process on WM5+ devices. However these almost all relate to dell axims, and no one seems to be having problems with the touch pro 2.
I have searched the rhodium forum on here and can find no mention of this problem - are other TP2 users just not having this problem?
I am running pocket informant 9 and wonder if all the smaller memory writes it does when i'm using it make this problem appear more often. Am also using SPB pocket plus.
Any ideas? There is loads of free memory on the phone.
Jon
Same Here
It makes the phone extremely frustrating to use. I have found that the official TP2 6.5 ROM is woeful with it, while a Windows Mobile Power User ROM that I am running is acceptable so far.
Nice device, pity about the OS
Well, I can't see any reason why it can't be configured so any necessary compacting gets done at night when i'm not using the phone. A similar cab file was made for the dell on WM5, so i'm not sure if such a tweak exists for wm6.

Categories

Resources