About Memory Leaking - Windows Mobile Development and Hacking General

Recently I found something interesting and would like to share here see any Hi-Tech people can make a software to fix the memory leaking in WM OS.
When I first start my machine, my Ram is about 25.5mb and then will drop down to around 24 something mb. I used different software to try to recover as much as RAM including Oxios and eLiAs AutoHibernate.
Recently I start to use Vito GoodWin I found that every time when I use the dialer pad no matter I make or not make a phone call, my Ram will drop down a bit. When I open the GoodWin, I can see the "Phone" is still running. After I close the "Phone" in GoodWin and close GoodWin and back to Today destop. I found that my Ram will go up to 26.6mb. How come? Is it any chance to find out why and may someone can make a software Like Oxios but can take more Ram back.
Hope someone can do it for US. Cheers

memory leakage
hey dude this is not memory leakage actually whenever u run anything on the pocketpc or a cell phone or a computer it uses the resources of the device that is it uses the RAM memory(memory used for running the programs on a computer,pocketpc).
And as it is all the programs,codes,scripts are actually lines and machine codes which get compiled and executed and hence they use the memory of the device to run and hence the RAM memory is used.
For example if u run multiple programs at a time then it drains your RAM memory and hence the result is slow processing of your device hence there is no such way that you can avoid the RAM usage so even when u start your dialer it consumes the RAM do not worry about the RAM usage its normal.
And about the programs you mentioned they are just to shift the memory usage and yet when you start your dialer the specified and required amount of RAM will be used.
To make it more clear for u just go to the task manager of your computer (by pressing alt+ctrl+del all together) and then click on the performance tab
now minimize the task manager and just open a folder or any program and check your task manager the RAM usage might have definitely increased..
Its the same funda with your pocketpc and mobile phones..

its called...ram...basic computing...just like any computer..its shortterm memory used to run programs...the more u open the less u have...maybe u should search up basic computing terms like ram for a further explanation

Memory leaking is real and especially noticeable on windows mobile.
What happens is that memory is allocated for use by programs but then not released when the application is finished doing its job. A combination of complexity and lazy programming is often the cause.
The end result is a gradual drop in available memory, regardless of whether you have any applications still open. The only way to make that memory available is a soft-reset.
Suggest you look carefully at which applications leak the most and avoid them. It can be one or two culprits that you can live without.

My phone (Verizon SMT5800, running Windows Mobile 6 Standard) is bad about memory leaks. I have to reboot it at least once a day to recover memory, sometimes several times in one day. On one occasion, it got down to about 2 MB free and wouldn't even run the reset command. I had to reset it by taking the battery out.

See here and tweak if necessary !! http://msdn.microsoft.com/en-us/library/ms911907.aspx

"soft reset a day keeps the memory hog away"

ayyu3m said:
"soft reset a day keeps the memory hog away"
Click to expand...
Click to collapse
^ Thats the only thing that works for me

autohibernate works really well

SKTools FreeUP RAM
SKTools FreeUP Ram works well. Use it a couple times a day. Eventually have to soft reset though, maybe every couple of days. Have to buy it of course, not free. But it prolongs the duration between soft resets.

The newest SKTools has an additional service for automatic FreeUP Ram, after every app-closing. Just try it

Is there a way to find out which application is causing the memory leak?

I don't think, that there is a real memory leak.
For example Windows Mobile has a file cache which is not filled yet after a fresh softreset. While you use your device this gets filled until the required amount of memory is being used for it.

If more and more memory is consumed each time the dialpad is used, as described, then there is a memory leak. Nothing else can explain that. You should check with your rom chief.

Thanks, works great!
LordDeath said:
The newest SKTools has an additional service for automatic FreeUP Ram, after every app-closing. Just try it
Click to expand...
Click to collapse
I just upgraded my version of SKTools to get the latest FreeUP RAM Service feature. Very nice. Automatically frees unused RAM.
Thanks for the hint.

chigz said:
hey dude this is not memory leakage actually whenever u run anything on the pocketpc or a cell phone or a computer it uses the resources of the device that is it uses the RAM memory(memory used for running the programs on a computer,pocketpc).
And as it is all the programs,codes,scripts are actually lines and machine codes which get compiled and executed and hence they use the memory of the device to run and hence the RAM memory is used.
For example if u run multiple programs at a time then it drains your RAM memory and hence the result is slow processing of your device hence there is no such way that you can avoid the RAM usage so even when u start your dialer it consumes the RAM do not worry about the RAM usage its normal.
And about the programs you mentioned they are just to shift the memory usage and yet when you start your dialer the specified and required amount of RAM will be used.
To make it more clear for u just go to the task manager of your computer (by pressing alt+ctrl+del all together) and then click on the performance tab
now minimize the task manager and just open a folder or any program and check your task manager the RAM usage might have definitely increased..
Its the same funda with your pocketpc and mobile phones..
Click to expand...
Click to collapse
Thanks for the detail reply. Actually what I want to say is after I turn the phone on the ram is start dropping. I just take a sample like after you use the phone the ram would drop about a mb. Of course we know that it is not leaking. My point is after I closed the software and use some software to recover the RAM like Oxios. You can get some RAM back, but my case is when I after make a phone call and turn the dialer pad off. I wouldn't see any software running at task manager also if I use Oxios I just claim about half to one MB RAM back. When I turn GoodWin on in this point I can see the "Phone" still running at GoodWin. I stop the "Phone" at GoodWin and than turn GoodWin off, I found that I could recover 2 - 3mb RAM. That's mean for me is when GoodWin turn this software "Phone" off and could claim more RAM back than Oxios. So could we use the way GoodWin do to make a software claim more RAM back? If you don't get what I say, just try to download GoodWin from the net and try to play around than you can see what happen. Sometime it even make me have more RAM than just after softreset.

ayyu3m said:
"soft reset a day keeps the memory hog away"
Click to expand...
Click to collapse
Are you in NZ? Me too, which city you are? I am in Christchurch.

Related

What is the best software to FREE UP RAM?!?!

I need to know what the best software to FREE UP RAM is.
I have TMO MDA, 2.17 TMO Custom Rom
The device says I have around 55% of Free RAM after soft-reset, but as the day winds down and I use programs, go on the internet, activesync etc. The ram goes away, EVEN AFTER I 'STOP ALL PROGRAMS' the ram is down to around 40% or less
How do I lose 15% RAM from soft-reset till then if I'm running no more programs at that point than I was after the soft-reset?
And more importantly HOW DO I RESTORE THIS RAM without a soft-reset...certainly there has to be a program up there that you can execute that will FREE up that HIDDEN/LOST RAM!!
Muchos gracias in advancias
I have a Magician not a Wizard but I guess it happens to any PDA.
EVEN AFTER I 'STOP ALL PROGRAMS'
Click to expand...
Click to collapse
By this you mean, using the Task Manager? If yes, I don't have an answer to your question. If no, when programs are closed they are not fully terminated but somehow are in the background.
In any case, try software like SPB Pocket Plus or some 3rd party task managers.
SK tools available from http://s-k-tools.com/ includes a stand-alone utility for freeing RAM. SK tools is not free but there is a trial available.
Yes I am using a task manager - Spb Pocket Plus - to completely close these the programs but the RAM is still gone.
I have no clue what to do...anyone?
I had a similar problem where the memory was down to a very low level.
I ran Memmaid and it cured the problem.
http://www.pocketgear.com/software_detail.asp?id=14279
Might work for you.
ram eaters
when we are on the net the clutter gets collected in temp memory and cache folders. even using other programs. closing a program is not enough, these have to cleared. inherent soft reset does the job but, is cumbersome , so Sk Tools , Memmaid will do it for you or stand alone software like free up ram, clean ramare examples. hope that answers.
Use ClearTemp to remove temporary files, cache files, and other clutter that fills up your storage memory. Use QuickMenu's Hibernate function to clear memory leaks, and use QuickMenu's settings to have programs close on a short tap, and minimize on a long tap. If you just want a stand-alone hibernate program, use Oxios Hibernate (packaged with Closeapps, which closes all running applications).
DJSinCity said:
How do I lose 15% RAM from soft-reset till then if I'm running no more programs at that point than I was after the soft-reset?
Click to expand...
Click to collapse
Some programs (nk.exe, gwes.exe) are system-required, and will experience RAM leaks, especially in home-cooked ROMs. There's little beyond what I've already said that will fix that, other than what you've already discovered: rebooting. It's kind of like expecting your home computer to stay booted indefinitely. If you try it, eventually something is going to happen that will force you to reboot.

Memory eaten away !!!!!!!

I think all of you have seen this.. Free program stats from around 25 Mb and keeps on going down even if you completely kill the processes. is there a tool which actually kills the resident dlls and other crap in memory.. Please advice.. i want to get out this habbit of soft reset after couple of days just to bring my memory back up where it belongs ;-)
Cheers
Zobie
Yeah, leaking memory is also one of the very few things I hate on my Wizard
I also would like to know if there is a Memory Cleaner that works like it should and not only kills open programs.
Had problem also. But the Internet Exploder was to blame. I had the history settings to 30 days. Which is the default. Back to 0 days and everything was hunkydory again.
I had problems with memory too. I had less than 1MB of storage memory left. So I went from a custom 2.17 ROM to Mr. Clean AKU 2.3 and changed the Registry setting for IE as follows:
; IE Cache to storage card
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache"="\\Storage Card\\Temporary Internet Files"
I've used this ROM for a week now with lots of programs. I have an average of 25 MB of storage free and the system is fast.
I have experienced no problems whatsoever.
If i don't even open the IE will it still be a memory hog?? i don't understand that.. I can understand that if i use IE all the time it will cause problems but if i don't even use it why woud my memory drop with time. Cans omeone please explain. I am not trying to offend neone here but just wante dto know. I can definitely try the reg settings. Please let me know.
Thanks
Zobie
Don't confuse ROM with RAM and storage with program mem. I think the topic starter referred to his RAM mem becoming less every day, resulting in low program mem and slow operations, needing a reset to clear the RAM and speed up the device.
The IE cache is stored in ROM and will only fill your storage but not slow down your device.
memory leaks are unfortunately a standard issue with PPC devices, I have always suffered from them on both WM 2003 SE and Wm5 devices. For me a soft reset now and then clears it up, but I find it an annoying "feature" as well.
I think like Windows its the In Memory DLLs which are the culprit. I wonder if there can be tools for detailed view of memory for Xp why not WM5.
BUMP !!!
zobie said:
I think like Windows its the In Memory DLLs which are the culprit. I wonder if there can be tools for detailed view of memory for Xp why not WM5.
Click to expand...
Click to collapse
What are the "In Memory DLL's"? Never heard of such a thing.
The memory that slows your device is the addressable application memory, which is a total of 32 MB. You cannot change that or add to it.
Think of it as the same as the Virtual Memory (VM) in Windows XP on your desktop. Every application you open reserves a bit of this virtual memory. Some apps willingly give it up when they close - some that are not as well written do not. A soft reset when you see the device slowing is about all you can do.
My only other advice is that skinned applications - particularly Today screen plugins - use up this addressable memory very quickly. This includes Wisbar Advance2, PocketBreeze and iLauncher, and any weather program. If you are running these, you will always have similar issues. Find an acceptable mix of skinned apps that you must have, and try doing without the rest just to see how it treats your device's memory.
And if you want to see what processes are running, and how much memory they are using, try MemMaid by Dinarsoft or SK-Tools. Great programs.
Amen. I wonder how much is held in reserve by the system in case you start the app again? Real Windows has been doing that for a long time, I wouldn't be surprised if micro Windows did it as well. Kind of reminds me of years ago when NT would report how it actually used memory and the end result was there was almost zero bytes "free" because all memory was always used for something, it didn't let anything sit around doing nothing. But since users didn't get it, MS wrote the taskman and so on to report something as "free memory" even though it wasn't really free. Finally, a lot of apps were designed to hide, not close, when you select the "X". If one of those task manager apps just blows the app away, does it bother cleaning up after the app which wasn't given the chance to clean up after itself by closing correctly?
markgamber said:
Amen. I wonder how much is held in reserve by the system in case you start the app again? Real Windows has been doing that for a long time, I wouldn't be surprised if micro Windows did it as well. Kind of reminds me of years ago when NT would report how it actually used memory and the end result was there was almost zero bytes "free" because all memory was always used for something, it didn't let anything sit around doing nothing. But since users didn't get it, MS wrote the taskman and so on to report something as "free memory" even though it wasn't really free.
Click to expand...
Click to collapse
Take a look here to learn about what you really see in task manager regarding memory/cpu usage.
http://tinyurl.com/l57w8
Finally, a lot of apps were designed to hide, not close, when you select the "X". If one of those task manager apps just blows the app away, does it bother cleaning up after the app which wasn't given the chance to clean up after itself by closing correctly?
Click to expand...
Click to collapse
Depends on which task mamger you are using; some use the WMClose command instead of the Kill command. Big difference!
Tools Like Memmaid SK-Tools don't allow you to identify rouge elements in memory which nolonger have a parent process running. It is those elemts which eat up the memory. I have SPB tools to actually close the application but even then the memory keeps on falling. I guess there is no tool as of today like Taskmanager or even RAM Optimizer for PPC. A Tool like RAM Optimizer would check for the elements which are residing in RAM and are no longer being used. XDA developers can surely write something using the .NE Framework.
J-Mac said:
Depends on which task mamger you are using; some use the WMClose command instead of the Kill command. Big difference!
Click to expand...
Click to collapse
Do you happen to know of a couple that use the WMClose command? I've used HandySwitcher most recently and MagicButton in the past, but have no idea which method(s) they use.
Thank you.
Geoffrey
There must 40 threads on this topics by now. I concur with J-Mac that today plugins are mostly to blame. I use Journal Bar and perform a soft reset roughly every other day. To help the situation I also use 2 programs which I find invaluable - The first is Smartskey which allows you close a program rather than minimise it (its a free download on this forum). The second is SK Tools Free up RAM application which works reasonably well but only delays the enevitable soft reset. It's effectiveness decreases the longer the device remains active.

HTC Mogul memory decrease over the course of a day

What is up with the memory drain on this device. I'll start the day with 24mb of memory (soft reset) and only have 10mb or less at the end of the day with no apps but activesync running. Has anyone less notice this?
hansolos said:
What is up with the memory drain on this device. I'll start the day with 24mb of memory (soft reset) and only have 10mb or less at the end of the day with no apps but activesync running. Has anyone less notice this?
Click to expand...
Click to collapse
Yea I get the same problem. Except I start off with about 20 and end up with as low as 9 before i'm forced to soft reset.
Its the magic of the Mogul's memory leak. The old rom and new rom feature it so untill a new update comes out, were stuck with it.
Does the Hermes and Kaiser have the same issue? They seem to be similar. They other thing is that the WM6 is suppose to have made those apps that leak in previous versions run at the kernel level.
my titan doesnt have the issue. its an app you've got installed. hard reset and dont install anything, you wont have the problem. troubleshooting 101. dont blame the titan.
I posted this on another forum discussing this problem, so I'll just quote myself here:
The memory "leak" thing is nothing more than a cache "optimization" in place to make the device respond snappier.
Whether it succeeds or not is another story altogether...
Basically, like any cache, it stores recent calculations for faster response later. For example, if you open and close IE alot, you might notice that the first time you open it on a fresh restart takes a little bit longer than the next times- that's because the second time you start it up, parts of it are still in memory from the first time!
You might be wondering why this happens even after forcing it closed with Xbutton or the memory settings. That's because the info stored in the performance cache aren't directly related to any one program! Many apps can use the same routines and calculations, and therefore this process exists on a processor/file system layer as opposed to a software layer, and therefore also exists even when all programs are closed!
Meaning, if I have mapopolis that uses a certain routine to access my BT GPS receiver, even after I close it, some of that routine stays in memory because perhaps Google Maps will use the same routine, and therefore respond faster!
Now, ideally, this should speed up performance, and it SHOULD disappear on its own if the memory is needed and the information goes "stale" (hasn't been processed in a while = not really needed for optimized perfomance). However, one look at the way Microsoft handles "automatically closing apps" (native X button, anyone?) is enough to know that WM can't manage its own memory very well.
I can, however, vouch for the fact that the longer you leave all programs closed, the more of your memory starts to creep back into available. I've sat and watched this happen. So, it sort of works, but perhaps not well enough if people are having low memory system crash problems.
Now, before you all start blaming MS for this... Its not Microsoft's problem. They developed CE-5 (which WM6 is based on) on machines limited to 32MB to make sure the programmers didn't get lazy with OS bloat.
Its the manufacturers who add all this file system optimization and stuff to their final device. In this case, its the way HTC thinks the system should run, which is why this anomaly is NOT as apparent on, say, a WM Treo device.
The good news is that if we complain enough, HTC might realize this optimization does more bad than good, and leave it out on the next ROM update for us.
However, truth be told, I think it works. The Mogul is one of the snappiest PPC's I've used of late, although I can't say for sure if its because of the cache or not.
This is just my personal opinion, so don't flog me! I just don't look at the memory useage anymore unless I'm having a problem, which mind you, I hardly do.
My most recent observations were this:
Soft reset gives me ~21MB (got some htc plugins), and after a day of use, making sure to close everything after I'm done, I get 18-19MB. At lowest, I hit 10MB after closing alot of apps. This memory usually comes back to 18-19mb in a matter of time for me. If for some strange reason it doesn't (can't say how often this happens), I soft reset.
All in all, I'm happy with the Mogul.
Click to expand...
Click to collapse
I wasn't blaming the Titan directly, although I wish they would allow you to adjust the memory like they have in the past. But as I've read that may having something to do with chipset of battery consumption.
I was just wondering if others had the same issue and might know of the reason.
Is there a list of known apps that cause memory 'drain' or don't clear their cache. I can understand apps caching data into memory to run faster, but they are not cleaning themselves out upon exit. The strange thing is how they continue to grow over the course of the day with no interaction.
I'm doing a hard reset to see if it get better. Add apps one at a time until I find an issue.
Ok did a hard reset. Setup Outlook to get my mail from Exchange and Gmail. Let it get synced and then did a soft reset. Started with 24mb after reset, down to 21mb without doing anything after an hour and it's still falling. The only thing running is ActiveSync. I've also removed htc_cm_guardain and ssdaemon from the startup. The only thing in startup is poutlook.
The thing I noticed when I had handyswitcher installed (before hard reset) was that filesys, device, gwes, services, shell and cprog all continously increased there memory consumption over the course of a few hours and never stopped or released it.
hansolos said:
I wasn't blaming the Titan directly, although I wish they would allow you to adjust the memory like they have in the past. But as I've read that may having something to do with chipset of battery consumption.
Click to expand...
Click to collapse
No no no... the reason you used to be able to select storage vs RAM was because it was SHARED memory! It was actually all RAM. If you had a 64MB device, that 64mb was split between ram and storage, and just like the rest of your RAM, it would wipe out when the battery died!
Ever since WM5 came along, they stopped sharing the memory, and now have dedicated RAM and Storage (using the leftover space on the EPROM chips used for the ROM image), much like a computer. This is a much better solution since you don't sacrifice your RAM for storing some large files, and you don't have to worry about battery failure cleaning you out!
Also, its not the apps that have cache, its the file system. The file system WILL actually free up some of that memory as the device is left with all apps closed for a while (maybe not all of it, but I've watched my device go from 11mb free after closing stuff to 18-19mb).
You guys need to hit the easy button on this one! It may not be a permanent fix, but there's a small freeware called Oxios Hibernate that releases RAM. I just put it on my start menu and 2 clicks....I have free RAM. Try it out, you won't be disappointed.
bam, thanks for the info... that little app rocks.
use a file explorer and go to \Windows\Startup. There is a shortcut there for a program along the lines of HTC_Guardian_cmsomething. This app is a htc app used to enforce sprint settings and runs in the background. So long as you don't destroy your phone internet settings you can just remove the shortcut. I found all my memory leak issues have gone away. I don't have any leaks when using the kaiser tab plugin.
Yes I've removed the links for HTC_Guardian and SSDaemon from startup and added them to my settings folder (if I ever need them). I soft reset to around 25mb and the Oxios Hibernate app keeps me around 24.5mb.
what does SDdaemon do?
sddaemon is suppose to be the speed dial or voice command app you get when you hit the button on the left side with the talk bubble. It loads the app if you hit the button, so I'm not sure why they have it in startup.
On my old Treo 700W, which REALLY had a memory problem, I used Oxios hibernate all the time. It works quite well.
yes, it works.
bam099 said:
You guys need to hit the easy button on this one! It may not be a permanent fix, but there's a small freeware called Oxios Hibernate that releases RAM. I just put it on my start menu and 2 clicks....I have free RAM. Try it out, you won't be disappointed.
Click to expand...
Click to collapse
you know what might help...if windows mobile had some sorta sorta disk caching feature...
that's what is causing the memory leak.
great tips. thanks.
hansolos said:
Yes I've removed the links for HTC_Guardian and SSDaemon from startup and added them to my settings folder (if I ever need them). I soft reset to around 25mb and the Oxios Hibernate app keeps me around 24.5mb.
Click to expand...
Click to collapse

Memory Leaking Solution?

Well, I seem to have a constant memory leaking problem. I've tried different roms over the past few years. Some of the most recent DCD 3.2.4, 3.2.6, 4.1.2, and now RM v2.2 light. They all seem to have the same problem. The memory is fine when I do a soft reset, then I start using the phone for whatever, Internet, Text Messaging, etc. The memory starts to get less and less and less over a very short period of time until I hardly have any left. So, I have to keep soft resetting the phone like every hour or more. Is there a solution to this? I have to assume it's a hardware issue since all the ROMs seem to cause the same problem. I have a friend that has the same phone and he uses his phone with MR1 and he says he has no problems at all, but he uses his phone as a basic phone and doesn't use it like a computer, like I do. He doesn't text message or use many applications at all. So, I don't know if he would have the same problem if he ran all the apps I do and text messaged, etc. Thank you for your help and time...
It's not a hardware issue. Due to the nature of our OS, there will more than likely always be a slow memory leak...but it shouldn't be bad.
Do you have a task manager like HTC Task Manager that allows you to completely close apps when you press (or hold) the X? You may have lots of apps running throughout the day that don't actually exit.
You can also try running a program like Oxios Hibernate occasionally to free up some memory.
You may also have programs such a Voice Command that run in the background and use memory; try looking and seeing what is running in the background.
Try downloading something like DotFred's Task Manager, and look at the what programs are running and how much memory they utilize shortly after a reset. Then look again a few hours later to see what changes.
Yes, I do and I'm exiting the apps. It doesn't seem to be bad with this new RS ROM. All the DCD ROMs that I used had a major problem when I used them. I was using memRelease, that seemed to be the best out of the ones I tried, but it would still not release a lot and it would slowly go down lower and lower. I've just started using Oxios Hibernate 1.40 since it came with the new ROM. I don't have voice command that I know of. I see what's running in the background, there is some utility came with the ROM, but I'm not sure what the files are that are running and if it's OK to stop them. I will have to try what you say, but I'll have to try to find that utility again, or get that one you suggested. Thanks!
btonetbone said:
It's not a hardware issue. Due to the nature of our OS, there will more than likely always be a slow memory leak...but it shouldn't be bad.
Do you have a task manager like HTC Task Manager that allows you to completely close apps when you press (or hold) the X? You may have lots of apps running throughout the day that don't actually exit.
You can also try running a program like Oxios Hibernate occasionally to free up some memory.
You may also have programs such a Voice Command that run in the background and use memory; try looking and seeing what is running in the background.
Try downloading something like DotFred's Task Manager, and look at the what programs are running and how much memory they utilize shortly after a reset. Then look again a few hours later to see what changes.
Click to expand...
Click to collapse
OK, I can't find the application I was talking about, I'm thinking it was in the Heavy version of the ROM and not the Light and that's why I can't find it now.
I did what you suggested and I installed DotFred's Task Manager. I can see the processes that are starting when I do a soft reset. Can you tell me if there is a place that lists what all the processes are and what I need and don't need? This way I can figure out what processes and don't need and stop them. Is there a way to stop some processes from starting automatically when you turn on the phone, and that will only start when I start them manually?
When I do the soft reset my free memory is about 17.76 MB but my processes are only using 15851 KB but my free memory is 18.52 MB after I use Oxios. So, that doesn't work well to free up memory. After you minus the memory the proceses are using from the total memory it should have 37.44 MB free. So, I don't know what's using up the rest of the memory.
I'm also using Kernal to use the High Memory Kernal so the camera doesn't work and it frees up alot more memory. So, if I used Low Memory Kernal my memory would really suck. So, there must be something wrong here.
Is there a way to keep ActiveSync from starting all the time? Here is the list. Thank you!
shell32.exe - 4440 kb
gwes.exe - 3350 kb
device.exe - 2677 kb
services.exe - 2383 kb
filesys.exe - 1812 kb
cprog.exe - 892 kb
connmgr.exe - 104 kb
repllog.exe - 101 kb
TaskMgr.exe - 80 kb
psShutXP.exe - 5 kb
FTouchFlo.exe - 5 kb
poutlook.exe - 1 kb
NK.exe - 1 kb
btonetbone said:
It's not a hardware issue. Due to the nature of our OS, there will more than likely always be a slow memory leak...but it shouldn't be bad.
Do you have a task manager like HTC Task Manager that allows you to completely close apps when you press (or hold) the X? You may have lots of apps running throughout the day that don't actually exit.
You can also try running a program like Oxios Hibernate occasionally to free up some memory.
You may also have programs such a Voice Command that run in the background and use memory; try looking and seeing what is running in the background.
Try downloading something like DotFred's Task Manager, and look at the what programs are running and how much memory they utilize shortly after a reset. Then look again a few hours later to see what changes.
Click to expand...
Click to collapse
It must be something you're installing because I've used most of the ROMs you mentioned along with having tons of extra stuff installed and running in the background and with heavy use the memory leaks really only became a problem after a day or two... not every hour.
Well, the RM ROMs seem to be working better then the DCD ROMs. I have to keep clearning the memory, but I don't have to keep restarting my phone like I did with the DCD ROMs. I still don't understand what's up with the memory. I had like 50% clear memory after the fresh install of the new ROM, and I checked the processes. I then restore my backup and install my software and then the memory goes down to like 30% free. I check the processes and there is no new processes. So, if there is no new processes taking up the memory then what is, and how can I find out? Yes, there must be something wrong, but I don't know how to figure out what it is. Thanks!
unL33T said:
It must be something you're installing because I've used most of the ROMs you mentioned along with having tons of extra stuff installed and running in the background and with heavy use the memory leaks really only became a problem after a day or two... not every hour.
Click to expand...
Click to collapse

Does using high RAM have effect on speed?

Since the new official WM6.5 is using a lot of RAM, does this affect the speed of the device?
Or does it merely mean that there can't be as many apps open until it reaches critical level?
Not directly, it should not. Only if it reaches a certain level, as you said.
It's likely however that WM6.5 uses more processing power than 6.1, but I can't say for sure.
It should not affect the performance, I have been up to 80% or more and never experienced any lag issues.
Cool thanks for the replies
One of the biggest misconceptions about RAM on Windows Mobile or indeed most operating systems, is that it's a good thing to have lots of free ram available. It's not. It's a complete waste of resources. The most efficient use of RAM would be bouncing off 100% used as much as possible.
It's good to have free RAM up until you have nothing more to execute. Having more RAM ensures you never reach this limit and start swapping.
I may not use all 4GB on my PC at once, but when the next version of XXXXX game comes out, I may end up using more than I do now. The overhead ensures I don't have to go out and buy more memory to ensure reliable performance.
A little off topic, but seems like a good place to ask: Opera (using 6.1, original or TESS) often struggles rendering complex (and sometimes even simple) pages. When you scroll to a new part of the page there are delays while it redraws the new bits. When you scroll back, it has to redraw the original bits. There are annoying delays and large ugly grey areas while it does this. I often have 3-4 tabs open BTW.
The question is, can Opera be allocated more memory (since I have plenty, especially since TESS) or is it completely automatic under WM? I've poked around in the registry and there are a couple of keys for "memory allocation" and "heap allocation", or some such, under the Opera section, but they're just numbers, they don't look like Mbytes, if you see what I mean.
The slow redrawing thing feels like a memory problem, as though it's redrawing from storage cache rather than quicker RAM cache, that's why I ask.
ArtieQ said:
It should not affect the performance, I have been up to 80% or more and never experienced any lag issues.
Click to expand...
Click to collapse
I fully agree with you.
The only problem is that programs that use lots of memory will not start. In fact I can play with Xtrakt only if I disable manila, otherwise the system not have enough memory to start it.
Sorry for the bad English
im sorry but if your PC or phone whatever you like is using alot of RAM, say %90, then this is going to cause the device to slow down.
once you reach a certain limit of RAM left, it has to start using disk space as temporary RAM and as such everything becomes slower.
RAM makes it quicker ONLY when the program you want is loaded into the RAM. So in windows if you have alot of programs running in the task area, then yes these programs will run up very quickly. But try then to open up another program when your memory is briming and you will find that it will slow it up.
To have memory running at a high percentage used is bad practise. In theory its good because it means things are loaded, but its only the things that are loaded that notice the speed benifits. There needs to be a cut off point.
adamrob69 said:
im sorry but if your PC or phone whatever you like is using alot of RAM, say %90, then this is going to cause the device to slow down.
once you reach a certain limit of RAM left, it has to start using disk space as temporary RAM and as such everything becomes slower.
RAM makes it quicker ONLY when the program you want is loaded into the RAM. So in windows if you have alot of programs running in the task area, then yes these programs will run up very quickly. But try then to open up another program when your memory is briming and you will find that it will slow it up.
To have memory running at a high percentage used is bad practise. In theory its good because it means things are loaded, but its only the things that are loaded that notice the speed benifits. There needs to be a cut off point.
Click to expand...
Click to collapse
Your understanding of the OS and therefore your conclusions are wrong. Desktop Windows is a different beast to Windows Mobile. When physical RAM gets low in Windows, it swaps data out to the disk. In WM it doesn't, it asks programs to close down (then forces them if none of them do), on a least recently used basis. For this reason, in WM, you might as well have applications using free RAM since they're effectively 'cached' and ready to be called up quickly. Should you start another process that requires that RAM, then the old processes will be closed very quickly. In WM, free RAM is wasted RAM.
Hi
For this reason, in WM, you might as well have applications using free RAM since they're effectively 'cached' and ready to be called up quickly. Should you start another process that requires that RAM, then the old processes will be closed very quickly. In WM, free RAM is wasted RAM.
Click to expand...
Click to collapse
Exactly Which is why having the HTC task bar shut down applications on clicking the cross is a complete waste of time. Windows Mobile is designed to leave applications loaded even when you close them, that way they are ready immediately when you want them again. This saves times and also power.
As already stated Windows Mobile will close applications automatically if required to free up some space.
Empty RAM is a complete waste, and is an argument against increasing RAM in Windows Mobile devices to silly headline amounts as even in standby that RAM has to be kept powered even if not being used.
Regards
Phil

Categories

Resources