{Help} Pinpointing a memory leak - General Questions and Answers

Hi all,
i have read all i can find on the forum on this topic and i wanted to ask is a specific procedure existed for determining a memory leak (if i have one!) i find the gwes.exe file starts at 12mb at boot and generally increases untill a soft reset. it can reach 18mb. whilst i am not sure if this effects performance it causes my memory usage to rise constantly for no reason i can determine!
my setup -
Touch hd
rom miri wm6.5 v26.3 - premium WITHOUT manilla
interface - spb mobile shell
dialer - phone ex
not much else
any ideas hints kindly recieved!
thought it may be nice to create a definitive guide/list of problem software on this one!
regards
Mat

having more mem don't inc performance unless one use all the mem on the device apps take the mem they require if there is more left they don't run faster

Gwes.exe will go up to 22 MB for me. It doesn't seem to matter, as far as I can tell. Try searching for virtualmemory.exe. You can use it to view the VM usage for gwes.exe and see if the memory slot is getting to filled up-it's probably ok.

Related

Is there a software tool to free up RAM in WM5?

Hi all, I know about SKTools comes with "Free Up RAM" but I just want "Free Up RAM". SKTools seems to mess my device up (Dopod 818Pro).
Any ideas???
Thanks all!!
voyager
MemMaid and SpaceReclaimer both support WM5.0.
Hi Leek, Thanks for the info, however neither of these is what I'm looking for (or at least I think I'm not looking for them). SKTools has a "Free Up RAM" one button operation that literally kills RAM sucking dll's and such and can reclaim up to 2MB of RAM. I have MemMaid and like it a lot but unless someone can point in the right direction if MemMaid can do this I would certainly appreciate the help!!
Thanks!
voyager
Try this Smartphone Application, works wonders!
http://www.oxios.com/memory/
Valk Space Reclaimer is "one-button", in a sense -- you just have to run it, and it can stop all programs, free memory, etc.
MemMaid offers more options, more fine-tuning control, but is also more dangerous if you don't know what you're doing with it
Space Reclaimer is easier for novices to use, requires almost no setup, and it can be programmed to automatically exit after running. It can also be programmed to run automatically after soft reset.
I have no idea about the relative effectiveness of these programs. I know they both free up memory, because I've used them successfully, freeing up as much as 3 MB in one run.
I have not tried Oxios Memory, but it doesn't appear that it's been released for WM5 yet (there's an alpha version on the web page).
RE
Oxios Memory works fine on my QTEK 9000 (aka Universal) running WM5 :lol:
Oxios memory 1.40
New release of Oxios memory 1.40 - now states is PPC and WM5 compatible. Hibernate works well on my device and I have set it to start on wakeup using the notification queue method. However Closeapps has a bug where it sends windows media player into some sort of intro mode! So I only use hibernate.
most memory actually goes into caching windows fonts and last known state...
kinda like when u play text twist or bejewelled and u quit the app [ or so u thought ] and when u do open it again, it will still revert to the last known state...
such cache will take up memory
ie more apps opened and closed, more cache memory..
only way is to reboot the ppc.
Memmaid 1.72
It is only the new version of memmaid that comes with the "Reclaim RAM" program. It is a separate program that installs with the same CAB. I have run it several times, including when my memory had fallen by about 10MB in spite of the fact that nothing was currently running, and Reclaim RAM said there was no memory to be gained. A soft reset regained the 10MB. So my unscientific impression is that this program does nothing.
Soft resets, on the other hand, do a great job.
You are absolutely right. MemMaid 1.72 free up RAM does nothing on my I-Mate Jasjar no matter how low the program memory has gone.
Maybe they will release a bug fix.
Regards
I can confirm too on a MDA Vario MemMaid v1.72 Reclaim Memory does sweet FA! Zilch! Nothing! Useless non-working feature!
Well.... another confirmation....
I've tried oxios memory and memmaid's free up ram feature...
They both are almost same in the result, i.e. sometimes they free up upto 1.5 MB of space and sometimes, nothing.
Even when the memory drops to something like 50% of normal, with no programs running, still these programs don't do anything to warrant their install. Have given up using either as a soft reset works wonders.
P.S. I have a Tmobile MDA compact II (Charmer) and have just two days ago updated the ROM from tmobile website. Seems to work much better and has more RAM too (even with activesync running in background as it usually keeps doing).

RAM Program Utilization?

Can someone explain to me how Program Storage space is allocated.
To the best of my understanding the Kaiser has 128MB RAM for running programs.
However, if I look in the Memory applet it shows TOTAL 95.36MB. I will assume that this is calculating in the base RAM needed to load up the ROM?
So, if I have 95.36 TOTAL it then says I have 35.19 IN USE. This is after shutting down all running programs AND removing everything from the startup menu.
I then go into task manager to look at running tasks and add up all of their memory utilization and only get between 6-7MB. Now I don't totally understand because it looks like things like file system drivers and services are listed here...I would think those things would be included in loading the device itself (and this part of that missing RAM from the 128 as mentioned above).
So with only 6-7MB accounted for in Task manager, what is taking up the remainder of the 35.19MB?
Also, does anyone have any good stats on at what % utilization the device starts to slow down? Theoretically you should be able to run very close to maximum RAM (assuming all needed apps are open).
And, another question out of curiosity is what do most people have for their base utilized RAM on a clean reboot? By this I mean you would have all your services loaded (BT, voice command, touchflo, etc.) and all your necessary today plugins, menu shells etc, but NOT applications like PIE or TCPMP. I find that mine tends to be in the 60%+ range as of right now.
Thanks for any info you can give!
Ok.. I just realized that the Task Manager had additonal tabs that I didn't see...specifically services. Now on a WindowsXP system running services will also usually list a corresponding process that shows RAM utilization. WM doesn't seem to show that information.
So it's entirely possible that all my missing RAM is taken up by additional running services. Any application that will fully detail this out for me?
Also, is there a list of services somewhere? I often go into my XP machine and disable any extraneous services... can I do the same in WM?
thx
yes, and there is also the so called "page-pool' that is a sort of cache / buffer.
th_undead said:
yes, and there is also the so called "page-pool' that is a sort of cache / buffer.
Click to expand...
Click to collapse
this is true, the higher your page pull the less ram you will have but the faster your phone will run. i remember back on my wizard i would alway set like a 32(i think it was 32 or mayb 16)mb pagepool so the phone would run super fast. but at the same time i had like 15mb of free ram....i toke a faster phone lol
Ah right the pagepool... and I think dutty's latest uses a 24MB one which could account for alot of the missing RAM.
Ok...well so here is another question.
Let's say you are running at a high memory utilization....let's say 70-80%
If you could drop that down 10-15% by decreasing your pagepool would that be more efficient? This goes back to my original question of performance as utilization levels increase.
I thought I saw a post somewhere that showed only very minor increases in performance as the pagepool was increased... is it worth that vs. the slowdown (if any) when running at a high utilization?

Ram usaged with WM 6.5

Hi,
After i upgraded to WM 6.5 Stock, my ram consumption has gone up from 45% with WM 6.1 to around 65-70%.
What are your thoughts about using a tool to free ram - does it help?
And what is the best tool to free ram?
I don't think it'll help. The official rom is badly bloated.
My build uses all of the official Packages on top of the latest WM6.5.1 build 23506 and memory usage is about 34%. That's running the official Manila 2.1
So I have no idea what they're doing.
VM 6.5 and memory usage
Well another approach to the memory usage is, how to get it down?
Is there anyt tips & tricks to get it down?
How much memory do you need in spar befor is a problem and have influence on the performance of the phone?
Its true that 6.5 uses more ram, and even more is used if you have moved over to manila 2.5. But as long as you have ram free it should not affect the performance of your device.
clean ram programs do reduce ram usage that has increased over a few days but you will not get it below the amount that is used just after a soft reset.
Sometimes having things "cached" in the ram will improve device response if those items are needed frequently, so not all ram usuage is actually bad.
Hey guys,
found it on another board (pocketpc.ch)
HKLM\SOFTWARE\HTC\ResProxy\ShareMemSize set Value to 100001
i dit it and its amazing, after a softreset it starts with 42% of memoryusage and til now no problems with any apps, so i think its a good tweek
thanks to the poster on pocketpc.ch
rol13 said:
Hey guys,
found it on another board (pocketpc.ch)
HKLM\SOFTWARE\HTC\ResProxy\ShareMemSize set Value to 100001
i dit it and its amazing, after a softreset it starts with 42% of memoryusage and til now no problems with any apps, so i think its a good tweek
thanks to the poster on pocketpc.ch
Click to expand...
Click to collapse
That was f...... amazing!!!
Memory use is down to 48% and the small delay there sometimes was in the interface is totaly gone. Startup of apps is also faster then before and everything seems faster.
So for now this registry change has done wonders for me. Only time will tell if there is a down side to it ;-)
Thanks rol13.
rol13 said:
Hey guys,
found it on another board (pocketpc.ch)
HKLM\SOFTWARE\HTC\ResProxy\ShareMemSize set Value to 100001
i dit it and its amazing, after a softreset it starts with 42% of memoryusage and til now no problems with any apps, so i think its a good tweek
thanks to the poster on pocketpc.ch
Click to expand...
Click to collapse
Hi,
it's not obvious(no A to F letters to guess) but you might have said, it's an hexadecimal value
regards
I noticed the same problem after updating tot 6.5.
I'm not very experienced with tweaking my phone. How can I use the mentioned tweek? What do I have to do and are ther risks involved?
there is always a risk when tweaking your phone, however, since many of us here seem to be having to negative results from this tweak, then you can say it's safe. search xda for regedit, download and install on your device, then use that program to tweak.
What Registry Base?
I dont understand, when I set the value to 100001, the radio button base has to be selected 'Hex' or 'Dec'?
Thanks for your help!
fofo13 said:
I dont understand, when I set the value to 100001, the radio button base has to be selected 'Hex' or 'Dec'?
Thanks for your help!
Click to expand...
Click to collapse
select hex
jetbro said:
select hex
Click to expand...
Click to collapse
Thank you, done, works just fine.
Thanks works great, usage at 42% now
if your using htc sense try getting the 'no push internet' cab file, as that will stop the push internet service on your phones and save you around 10%
for thoses that are unsure, push internet is where htc sense, will auto load web pages for you every hour or so, this makes the first page load instantly, and thats about it, so not much to lose out on
I would like to add a small note about this tweak before we all start thinking this is giving us something for nothing.
this reg tweak will prevent TD2 from pre-caching files for the following HTC applications:
AudioBooster, Calculator, ContactCard, CUIHandler, FMRadio, HTCAlbum, QuickGPS, Recorder, StreamingPlayer and YouTube.
They will now be dynamically cached, and then dumped from ram as they are used.
If you frequently using these apps it will be slower to launch when you 1st use them as they will need to be moved to memory before being executed (you can prove this yourself buy timing them before and after using the reg edit)
If you look at many diamond/TD2/HD tweaks the performance ones that make most difference are for file system cache, font cache, glyphy cache ect...
This works by allowing greater amounts of memory to be used by these caches, and more cached data gives better performance at the cost of less available memory.
so long as you always have enough free memory for the apps you want to run these performance tweaks are good. but if you go too far and run out of memory your app will crash or phone will just start to crawl
So using your memory is not a problem, and for many people it is better to have common apps and system files cached in memory ready to use instead of being able to see 50% free memory doing nothing (remember you have paid for this memory, make it work for you)
But if shortage of free memory is a problem for you then certainly this tweak will free up ram for your applications that need it.
as a side note another good way of freeing up alot of ram is to dissable push internet using a cab found on these forums. this obviosly comes at the cost of losing push internet, but if you dont use it whats the loss
thanks for the great info rumpleforeskin. one thing i would like to mention, after applying the tweak, my internet speed (using 3g) dropped significantly, and it was almost impossible to get a gps signal, as soon as i restored my registry back to the way it was before the tweak, everything went back to normal, i got my 3g speed back, and gps was almost instant. something to think about before using this tweak! or maybe it was just me
rol13 said:
Hey guys,
found it on another board (pocketpc.ch)
HKLM\SOFTWARE\HTC\ResProxy\ShareMemSize set Value to 100001
i dit it and its amazing, after a softreset it starts with 42% of memoryusage and til now no problems with any apps, so i think its a good tweek
thanks to the poster on pocketpc.ch
Click to expand...
Click to collapse
Brilliant! Down to 52% after a soft reset, thanks.
In my case Topaz from Spain, Official Rom upgrade from HTC, after change the value & soft reset 41% Ram occuped (before the change 48%), without problems with programs,
great tweak.
this tweak sets the share memory to 1 mb while the default is 15 mb.
yes you will have some more ram free but this will make Topaz work much more because now it has to read write to the ram all the time.
so whats good with this tweak
You get extra 5-10 mb ram free (thats what you think) but those extra ram are not free really because they will be used all the time to read what should already be in the ram.
this also causes the cpu to work more causing more drain on the battery.
so you will loose more then you gain
gullum said:
this tweak sets the share memory to 1 mb while the default is 15 mb.
yes you will have some more ram free but this will make Topaz work much more because now it has to read write to the ram all the time.
so whats good with this tweak
You get extra 5-10 mb ram free (thats what you think) but those extra ram are not free really because they will be used all the time to read what should already be in the ram.
this also causes the cpu to work more causing more drain on the battery.
so you will loose more then you gain
Click to expand...
Click to collapse
what you write is true, i made a post a little futher back describing the pupose of this cache file, and all cache files.
The original poster of this tweak done a good job of finding a way to reduce ram usage which will be very helpfull to the few people who need to use that extra ram.
but i worry that many people will use this tweak just to lower their ram usage not understanding that memory cache is there to boost performance.

how to get more RAM?

hey, i'm running wm6 on my uni and get around 22mb on boot. I'm sure others would be getting as much or even less if they're running 6.1 or 6.5
i mostly use Palringo and ANB viewer together (as opera mobile won't work and i need tabbed browser) and the ram level drops to as low as 2mb if i even open total commander or picture viewer.
this is painful as i would love to use my uni for videos / audio but that is virtually impossible with all the above apps.
Now, since the total memory shows 48.90 mb, i was thinking is there a way to 'reduce' the mem used by the baseband? if we can somehow increase the available ram to 30+, it would be very helpful.
today's softwares demand more ram and with devices now coming with 256mb or even 500+ram, this classic is quickly going under the sand...
I use my uni only for data so I for one won't mind it if the phone features are compromised for memory.
hoping for some good comments and ideas...
There are ROMs that will offer 30Mb or so on boot, just look around and find one. I think that having your RAM so drastically reduced by running next to nothing is caused by leak in the ROM you are using or programs running on the background that you are unaware of. I have a 64Mb Uni and could use Opera with pretty much any ROM and can't say I ever had the problem of running out of memory to the point of being unable to run programs or videos or music, basically what you describe is rendering your device practically useless. WM6.5 is resources hungry and I would not recommend it for a 64Mb device, but with 6.1 things should be running fine. So get a proper WM6.1, drop Palringo and ANB viewer and get Opera for tabbed browsing.
Another suggestion would be to upgrade your RAM to 128Mb.
Flash with another rom I can suggest you VnInt WM6.1 rom, after - install SKTools and optimize for more memory, look at the startup folder and delete all unwanted programs, remove most items of the today screen. I have 29 mb after restart and after 2-3-4 days of using the ram drops only to 22-24 mb
junooni said:
today's softwares demand more ram and with devices now coming with 256mb or even 500+ram, this classic is quickly going under the sand...
Click to expand...
Click to collapse
Yes true most of the software today needs lots of ram and with devices with 256mb ram it's usual... and the highest ram i guess is in HTC LEO with 448mb...
Well if you use your phone only for data then you can try some vanilla roms... namely thingsonaspring's v1.1 ( around 30mb in boot wm 6.1) or even tomals vanilla roms (around 27~28mb on boot wm 6.1)... mine works fine with opera and total commander... so try to flash another rom...
i'm using wm65 without chome and titanium (HTC_UNIVERSAL-luca16thebig__WM6.5_v2.0.5_64mb_version_light___5.2.23016___build_23016)
still has around 27mb free ram and more then enough to runing palringo, mini opera, and others program at the same time.

A question on memory - how much do I need?

I understand that storage is like the hard disk, program is like your RAM, and I suppose SDHC is like your external disk drive.
The question is this: I am having huge fun loading the various ROM's that kind chefs have cooked up. I really love 6.5, and would like to keep it standard across all my various machines.
However, having loaded it on my weedy little Universal with 64mb, just after booting program shows about 13mb, then rapidly disappears, down to around 5mb.
For stable operation, without too many resets and upsets, how much do I really need to keep WinMo happy? It's showing 5.88mb at the moment and the only thing showing in the task manager is Active Sync at 1.02mb. Is this enough?
Is there any way of clawing back some program memory? Do I just have to be careful and keep apps shut down to stop them eating up memory? Does unloading apps from storage have any effect on freeing up program - I would suppose not, unless they happen to be running and therefore eating up program? or admit defeat and load 6.1, which is less of a hog?
(It's just gone up to 5.91mb)
thanks if someone with the skills could eludicate!
rjstep3
A bit of experience has answered my own question - 5mb is not enough, by a long way. 10mb minimum.
So sad that I can't get WM 6.5 on this thing, but that is the conclusion I have come to.
I would still love to know how this memory thing works, it seems to go up and down very quickly, and keeps changing for no obvious reason (obvious to me that is).
rjstep3
I would like to know that to
I am using Tomal 8.9 with SPB 3.5.3 and mymemory is also on 5-6 mb
I love this device, but it is just too old now - not enough power or memory for the more modern applications and interfaces. Shame - I wish there were another one to get, I still use mine, it is the perfect blend of phone and PDA, the form factor is just great, not too big and heavy, not too small to be useless.
I would take off the SPB shell, just run with the vanilla version, it is good enough with a few tweaks.
rjstep3

Categories

Resources