yashsingh1/xdaforums huggingface dataset:
[Mogul, XV6800 General] oakwestplayer:
hi guys, isnt there a registry hack to lower the system cache size? im not familiar with wm6 but im interested in jumping ship from a ip830 to the mogul but on reading this idk if that would taking a step foward and two steps back. on a soft reset i have about 45 mb of ram, but i have my systems cache set real low. can this be done on wm6?
[Mogul, XV6800 General] lanwarrior:
I use SKTools and it has a tool called "FreeUp RAM". I set this with the softkey applet so when my memory going below 12 Mb, I run this tool to bring back the memory to 18-20 Mb.

Windows Mobile leak has been there since WM2003 and M$ never bother to fix it...
[Mogul, XV6800 General] oakwestplayer:
you can also use sktools to set the system cache to 2mb. give that a try and maybe that'll help.
[Mogul, XV6800 General] Dishe:
I can't beleive people are still discussing this, and even calling it a leak, bug, oversight by M$, etc... and yet others are still asking if they can adjust the size!

I don't know how many more times you people need to hear this, but the "leak" is a file system cache that helps keep WM6 running smoothly without hiccups.

We are no longer using shared RAM between storage and memory (as 2003 did), and starting with WM5, we now thankfully have real dedicated storage that won't get wiped out when the battery dies or need to be compromised for the working memory.

The catch with storage memory (and this is true of ANY storage medium, whether it is flash based or disc / hard drive / tape medium) is that it is not as fast to read/write from as RAM is, and needs to be accessed in blocks of memory at a time (as opposed to RAM which can read/write from individual bits if needed). Imagine if every time a single bit was written to storage there was a pause for a second or two. Something as simple as loading a web page would be grueling!

Hence the system cache... instead of writing directly to the storage memory, everything is written to a temporary location in RAM, which then writes to the storage card a whole block of data at a time when ready, or when the system is idle. The same is true of reading data... if a certain portion of data is accessed often, the system cache will keep that data in RAM instead of loading it from storage every single time.

The more programs that access the storage, the more memory will be eaten up by this process. However, if left to its own devices after a certain amount of time, the cache WILL free itself up. I've seen my device go from 12mb to 18mb free in a matter of minutes, not touching anything.

Programs like SKtools and Oxious Hibernate free up ram by forcing the system to clear the cache immediately instead of waiting for it. This circumvents the purpose of the cache, but it might help in the shortrun if something is memory hungry.

The bottom line is that this shouldn't be considered a problem... if you're missing memory after using a lot of apps, than its is working properly. It will free itself up over time, or if needed you can always clear it earlier.

Oh, and before you start blaming Microsoft for this annoying way of doing things, you should just know that HTC wrote the file system for their hardware. So if you have a problem with their way of doing it, complain to HTC not Microsoft (who has NOT been overlooking some "bug" since 2003.... seriously people, come on already!).
[Mogul, XV6800 General] defaultdotxbe:
the problem for me (and probably others here) is that it doesnt ever free up, on mine memory will drop from 18mb to 15 to 10 to 5 to 0 without ever running any apps at all, and it never comes back not matter how long i let it sit, maybe i have an app with an actual memory leak but my mogul has been doing it since day 1, i just make it a point to soft reset once a day, but its certainly not working the way it should (the way you describe)
[Mogul, XV6800 General] Dishe:
I'd take a hard look at what you have installed on your device.

That's clearly not right.
[Mogul, XV6800 General] f00dl3:
That sddaemon is a real memory hog. Disabled that app from startup and freed up about 5-6 MBs of program memory. Phone is notably smoother without it, especially since I don't even use Voice Speed Dial.

(Got the flashlight app assigned to the button VSD used).
[Mogul, XV6800 General] raysfx:
how do you delete the shortcuts from startup?? it gives me access denied error..
[Mogul, XV6800 General] Dishe:
unlock your device first. Search for it.
[Mogul, XV6800 General] lanwarrior:
What is the purpose of sddaemon? Sounds quite important.. the "daemon" part.

Unlock the device?? How can you unlock a PCS device and to what purpose, since Verizon won't take the phone. GSM (like 8525) I know, but PCS device? Maybe I am missing something here...
[Mogul, XV6800 General] rijc99:
Unlocking as in being able to install any program... don't think of it as in unlocking a GSM phone to be able to accept any SIM. There are various methods listed... registry tweaks, prepackaged cabs, etc.

I believe several people found the SDDAEMON file to be a startup file for the voice command program. Most believe it to be unnecessary.

Also, I was able to delete the startup files without having to unlock first.
[Mogul, XV6800 General] lanwarrior:
Oh ok. I though unlocking refer to unlocking the phone. LOL! I used GSM phones before so that terms still stuck in my mind for unlocking phones.

Anyho, I think my Mogul is already "unlocked" since I can install any programs the moment I received my phone. I made changes to the registry to without issue. I am going to try removing the SDDAEMON file from the startup folder.
[Mogul, XV6800 General] freegood:
I too had this problem of losing memory while sliding my Mogul. For me, I fixed the problem by installing Esmertec Jbed and using it to run Opera Mini. I would lose memory while sliding it ( down to 10), but after I closed the program, my memory went back to 19 MB.

Before installing Emsertec Jbed, my leakage would happen even after I closed Opera/Java as long as I initially ran the program.

I hope this helped some of you in your problems.
[Mogul, XV6800 General] lanwarrior:
I know that Windows Mobile (2003/5) is known to have memory leaks. I had it with my T-Mobile MDA (Wizard), Cingular 8525 (Hermes) and now the Mogul.

However, it seems that the memory leak in the Mogul is much more apparent. I installed the same applications between the 3 devices, such as Spb Pocket Plus, Pocket Informant, PhoneAlarm, etc. and the Mogul memory will decrease to 10 Mb throughout the day. Running "Freeup Ram" application from SKTools only frees up about 3Mb, compared to 5-6Mb with the Cingular 8525.

I really wish M$ will fix this and Sprint comes up with newer ROM update or something.
[Mogul, XV6800 General] diomark:
But it is a problem.

The point of cache memory is that it should go out of the way (and free up ram) automatically if there's a program that needs it..

Yet why is it that tomtom (for me) which needs ~10mb of memory free sometimes doesn't load with out of memory errors, when *nothing else* is running on my phone? (but when the phone's been up for a day or two..)

MS's cache doesn't behave correctly.

-mark
[Mogul, XV6800 General] scottdw:
For the people who have success with the "oxios hibernate" program (I am one of them), I wonder if a MortScript could be written to run this every once in a while automatically.

Just a thought :)
[Mogul, XV6800 General] DopeWeasel:
Typically adding more processes would defeat the purpose this thread is attempting to achieve, but nice thought.

... anyone know what IMstartup.exe is for? Google couldn't find any English description for me. "IMstartup.exe" is a GoogleWhack. Only thing I can think of is Pocket MSN.
[Mogul, XV6800 General] rijc99:
For those of you that have removed HTC_Guardian and SDDaemon, can you test to see if the OEM SD Card encryption still runs... Thanks.
[Mogul, XV6800 General] dragon_76:
The memory manager for Windows Mobile doesn't behave correctly. There is a big argument on MSDN where one of the devs for WM6 explains why the user shouldn't have to manage their own memory. BUT I get OOM errors when I use an app that needs a lot of memory and I am asked to close application. Why do I have to manage my own memory then! Makes no sense. If an app does not close when you press the X button, it should be an OK button, IMHO.
[Mogul, XV6800 General] lanwarrior:
What's the purpose of HTC_Guardian.exe? I removed SDDaemon and my device seems to response much slower than before, especially when I open and reopen the same application (Outlook) and at the Today's Screen (PhoneAlarm and SpB Plus). So I am hesitant to remove another executable from HTC.
[Mogul, XV6800 General] Dishe:
It enforces the data settings.

It is not necessary unless you mess with the data settings yourself and find it not working, or if you travel alot into roaming areas and find the data suddenly doesn't work.

I removed mine and have zero problems unless roaming exclusively in upstate NY.
[Mogul, XV6800 General] winmobilelawyer:
Personally, I think the WM6 caching works just fine. VERY TRUE, we should not have to manage our phone memory by using oxios and what not. However, if you think about it, we are kind of experiencing an "in between" right now. And what I mean is that just a couple years ago, the PDA's that were out (Palms, etc.) were pretty much amazing, hardly any problems. Then out pops the ppc6700s and others similar with windows mobile 2003 and such, and now gues what, software developers big and small are starting to catch on to the popularity of these mini computers and are building very powerful apps for these phones (Live Search, Google Maps, OperaMini, Games that put even Nintendo64 to shame) and they require a LOT of memory. So once again we are in between and waiting for the phones now to catch up to the software. If youve noticed, a lot of these bigger memory using programs have started to include a true "Exit" option in their menus (Live Search, Opera Mobile, and some others).

So the caching WORKS. But if youve got 2 or 3 memory hog apps that you run in the background (Mobile Shell, Wisbar, etc) and then you pop open Java or Opera or Live Search and you dont actually close them. Of course you have no memory available. Closing apps after you are done using them is not "managing your own memory" its just common sense. And I don't mean text messaging and PocketIE type programs, these are dinky little programs that your phone could run all day without the slightest problem.

So yes, memory is sometimes a problem, but thats because we are impatient and cannot wait for the hardware to meet up to the software. I suppose if you want Microsoft to do anything about it, they should start building their own phones to match their software.
[Mogul, XV6800 General] klmsu19:
thats a totally different topic.

here were talking about you start with say 24mb free ram. you open some programs and TOTALLY close them out with x button. do this over the day and with nothing open your free ram will be down to <18mb free. theres multiple mb of RAM escaping and not being reclaimed by closing out the programs. Thats NOT proper operation for any PPC it shouldnt LOSE memory over the day
[Mogul, XV6800 General] lanwarrior:
Agreed. That's what I experienced with the Mogul. Even with no 3rd party apps (I hard reset my device to test it), it still happening but a slower rate.
[Mogul, XV6800 General] ji1386:
Same problem here. I'm a Telus P4000 owner and have the exact same problem... Hopefully we get some sort of software update that'll fix it...

Check out these screenshots. The first is after a day of use, as in i soft reset when i woke up and took this screen shot by the end of the day. The second is after a soft reset. Both with "no programs" running...
[Mogul, XV6800 General] lanwarrior:
That's insane! Mine will go down about 17 Mb and I thought I had it bad.

Guys, I found a tool called SkTools that have a feature called "FreeUp RAM". Basically, just run this tools when the memory is dipping and it'll simulate a low memory situation (like 2 Mb) and force WM6 to free up those memory.

I tried it like this:

1) Start of the day with 23 Mb FREE

2) Throughout the day of opening/closing program, memory stands at 17 MB even after I close ALL programs

3) Run FreeUp RAM and memory back to around 21 Mb FREE.

Until M$ comes up with the fix (or Sprint does), this is a good temporary solution.
[Mogul, XV6800 General] thehelios:
Just download oxios memory. It's free and will free up memory really well on the mogul. Plus there are no menus, just click the app and thats it.

http://www.oxios.com/memory/
[Mogul, XV6800 General] Shaska:
Granted, That IS a great program, But people are angry that they need to use such a program in the first place...

Imagine if you had a windows computer with 2GB's of RAM, and over the course of a day your memory disappears down to 1.2GB for no appearent reason... Would you be happy constantly running a program to clear out the system ram because of a horrible idea causing the system to not immediately free the memory?

Hopefully in future ROM updates this will get tweaked to work a lot better, And also heres hoping to WM6 Kitchens so we can take windows into our own hands and tweak it as we see fit to maximize the memory use...
[Mogul, XV6800 General] nino63004:
i did these reg hacks and when i went back and restored them to the original settings i no longer go below 19mb.

Using a registry editor such as PHM RegEdit lookup and change the following three values:

HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Cac heSize=0x1000(4096)

HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Ena bleCache=0x1(1)

HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt\ReplStoreCacheSize=0x1000(4096)

when i changed those i would go down to 15 mb but now since i put it back to stock its hasnt been below 19mb after i close all apps :)

Nino
[Mogul, XV6800 General] lanwarrior:
If I am not wrong, the above are the reghack for FAT File System to speed up the operation of the Windows Mobile, but at the expenses of memory.

However, even without applying the above, I still experiences memory decrease. One key point I noted is that it seems to happen more often when I:

- Open the keyboard

- Have pull email configured

Note that I am, at this point, is NOT running any 3rd party apps.
[Mogul, XV6800 General] freegood:
This program works great. I've gotten back 16 mb after a good day's use, but after running it, my Mogul starts acting weird.

The mp3 player such as Pocket Player will only play for 30 seconds after the screen shuts down.

If I run another program such as Opera Mini, the Pocket player automatically closes, and visa versa. The amount of RAM when I do this is around 6mb, which then makes me run Oxios again.

So it seems to work well with only one program running.

Based off of other members' previous comments, I think it's a cache issue that oxios messes with.
[Mogul, XV6800 General] lanwarrior:
I use SKTools FreeupRAM and never had the issue above.
[Mogul, XV6800 General] ilordvader:
with SKTools FreeupRAM (any links for this freeware )

or

http://www.oxios.com/memory

how much memory do we make ?

I mean is it worth it ?
[Mogul, XV6800 General] Nunim:
I don't seem to be having any of these memory issues, I'm running that latest rom with Wisbar lite so I can actually close programs and they won't sit around eating up memory. I have PDANet home plugin and wisbar running and I'm at 24.79 free ram. I recently did a soft reset and before that it was about 22 megs of ram with some junk open. You guys are trying to run too much in the background.
[Mogul, XV6800 General] stevenewjersey:
Remove every HTC program from the device. I did and my phone runs for days at a time.
[Mogul, XV6800 General] donas2000:
How much memory is available on a new 6800/mogul before any extra stuff is installed?
[Mogul, XV6800 General] ronin:
Here is the link! I use it too and have been happy with it!

http://www.oxios.com/memory/
[Mogul, XV6800 General] donas2000:
I've got a program installed that helps me out, but I don't know how much memory was already consumed when I started out fresh???
[Mogul, XV6800 General] ca3sar:
It that something that has to be selected each morning or something>? or does it autorun?
[Mogul, XV6800 General] jraggio:
What is PDANet home plugin? Is that the same as the HTC Home plugin?

I can't figure out what I'm running really, but after a soft reset I'm down to 15.

I have HTC Home plugin and spb pocket diary running. I have active sync syncing with my work exchange server. I have like 1200 messages in my inbox along with 200 contacts and 500 tasks. Does Outlook data use a lot of memory? Does acticesync over the air have a leak of some sort?

I'm also running wisbar advance. I forgot to mention that before.

Thanks,

John
[Mogul, XV6800 General] JoeSchmoe22:
As close to a fix as possible

I suffer from the same memory issues just like most everyone in this thread. To make matters worse, I use about 5 "MUST HAVE" programs that load every time I boot my Mogul. They are:

PhoneAlarm

PocketBreeze [for tabs and calendar]

WeatherPanel

S2U2 [only way to keep from accidentally answer calls while in my pocket]

cLaunch

In the morning on my way out the door I do a reboot to start my day with

maximum

memory. At that moment I have about 17.5MB with everything above running and a few small apps like batti [battery meter].

Within 20 minutes I'm down to around 14MB.

In an hour I'm down to somewhere between 10MB and 12MB.

2 to 3 hours later, after 3 or 4 phone calls, ActiveSyncing with PUSH emails connecting to an Exchange server, about 5 text messages and checking a contact phone number, I'm down below 10MB for sure. Most likely right at 9.5MB.

If I want to launch PIE at this time, it's about a 50% chance it will launch. If it doesn't I can run SKTool's FreeRAM and I may pick up anywhere from 1MB to 3MB of RAM. Now PIE will launch and it usually works okay until I bump into a site with a lot of photos or content. Then many times my Mogul locks up and I have to reboot because it won't run with less than 1MB free.

OKAY, this is my day and it SUCKS! :mad: I usually reboot once to twice a day. If I avoid surfing the web I can make it through the day. I usually walk in the door at night with about 3.5MB of free RAM.

I decided to try to fix things and started reading a lot of blogs on XDA, SprintMogul.net, PPCGeeks, PDAPhonehome, etc. and I think I have got it dialed in finally.

YEAH!! :D

So here's what I did.

1.] Kept all my same program. No changes there.

2.] Replaced SKTools' FreeRAM with Oxios. It has no menu, so no extra step to run, and it seems to free up more RAM than SK's. I did a few unofficial tests and Oxios seems to release more RAM every time.

3.] This is the "Biggie". Used SKTools' "Optimize" feature and set it to "Memory" [not Maximum Memory] and let it handle all the changes and then reset the device. This cut back the amount of memory that my Mogul could allocate to system cache and other caches. The phone / CPU is already snappy enough so you'll hardly notice any change in performance, but you'll get a whole lot more RAM back.

4.] Follow the advice in this thread to overwrite the HTC_CM_Guardian and SDDaemon files with text files. You see a small pick up in RAM and in addition your RAM will not continue to drop all day. [FYI, I'm using the new 3.35 ROM, so I couldn't disable in my startup folder. Also, I don't use the Voice Dial, so I didn't need SDDaemon.]

My phone works great and I have plenty of memory! I reboot fresh with about 18MB and go all day and end with about 15MB. If I run OThe next thing I'm going to try is Opera Mini to avoid the memory hogging of PIE.

Good luck to all the Mogul users, I know your pain.
[Mogul, XV6800 General] JaxDreamFunding:
WOW....Incredible. I just did what you outlined and replaced the HTC Guardian and SDDaemon with txt files. When I reboot, I have 19.3 to 19.7 free....if I run Oxios Hibernate as soon as I finish the boot process, it takes it up to 20.7meg free....I will wait and see what kind of leaks I have.
[Mogul, XV6800 General] clamknuckle:
Ok, so what do you do if you don't have HTC_CM or SDDaemon at all and you are still coming with a memory leak?
[Mogul, XV6800 General] devinf:
I have got to seconed that! I got this phone just recently shipped with the new rom and radio.

I dont have those two files in startup... are they somewhere else or did htc just eliminate them already?
[Mogul, XV6800 General] JaxDreamFunding:
I did not have those files in startup either...I just copied a txt file renames as exe over them and did a soft boot. Now those files are not in memory any more.
[Mogul, XV6800 General] JoeSchmoe22:
Did you check the processes or just the startup folder? You may find that the processes are running. Use a task manager to check the processes.
[Mogul, XV6800 General] JoeSchmoe22:
They're still there, but in ROM 3.35 they moved them out of the startup folder. They are now started by another process. I haven't tried to figure out which process does launch them. If you verify that they are starting by using a Task Manager to view your processes, then the easiest way to avoid them starting in the future is to copy a "null" file over each one of the files in the Windows directory and reboot. You will need to use a file manager like Total Commander to copy over the files. It works great! Memory consumption will drop.
[Mogul, XV6800 General] nonegiven:
I'm running 3.35 WM6.1 and don't have the HTC_CM Guardian on my phone. Resco Explorer doesn't find anything close to that name (hidden, ROM, etc.) and no process is running with that name.
[Mogul, XV6800 General] clamknuckle:
Same here. I guess I should have mentioned I'm on nuerom 5060.
[Mogul, XV6800 General] jraggio:
I got so aggravated the other day and I did a hard reset. I haven't installed much yet. After the hard reset I was at 26 MB! Seemed to stay there all day long. I then setup push via wireless activesync and I went down to 20 MB. I have a lot of calendar entries, 300 contacts and about 300 items in my inbox now. I wonder if the amount of Outlook data affects memory usage. Before the hard reset I had 1,500 items in my inbox, but I wouldn't think that would matter, but you never know.

This is killing me. Verizon shows no signs of getting the new ROM with GPS and 6.1. I'm thinking of going to a cooked ROM. Anyone out there using a 6.1, GPS enabled ROM with the Verizon XV6800? Will I see any better memory performance? How hard is it to install?

John
[Mogul, XV6800 General] JoeSchmoe22:
I'm not sure if the email count matters, but the ActiveSync with calendar, tasks and contacts will eat up a lot of memory. HTC should have thought about this for a business PDA / phone and installed more memory!!:mad:
[Mogul, XV6800 General] akboy82:
Does anyone know what the optimal settings for the above are for 6.1?

I have been playing with different setting for the last week because I'm tired of running out of memory!!! When I'm really low on memory I find that WM will auto turn off programs I'm running when the screen turns off, this doesn't go well when I'm using the phone for navigation because I have restart the program and find sat's all over.

Someone also said to remove HTC_CM_Guardian and SDDaemon, but I don't have anything like that on my mogule. I do have a file calle VCDaemon.exe that is in the start up folder, does anyone know what that does?

Another way to save ram is turn off extra services http://xdaforums.com/showthread.php?t=385054
[Verizon Samsung Galaxy S III] Mitsiboy:
I have been looking for ways to fix a black screen on a GS3, and now asking here. I was given an S3 to try to get the screen to work. When you boot it up, the leds work but not the screen. I can connect to a pc and see the phone. Is there a way to fix this (through buttons) or does it need a new lcd?