TP2 running v slow - how do i free up memory? - Touch Pro2, Tilt 2 Windows Mobile General

My TP2 (winmo 6.5) is running painfully slow atm - it can take 10-20 seconds do do something like load my inbox or an email..
On a quest to speed it up I was looking at the memory in use:
Total: 187.41mb
In Use: 151.36mb
Free: 36.05
which is when the device is idle with no open apps.
36MB of free memory seems appallingly low to me.
Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?
I have 259.2MB of 'Storage' memory, of which only 30MB is used, hanging onto the rest is a big waste.
Or - is there a better way to speed things up? (like install android? )

You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.
http://forum.xda-developers.com/showthread.php?t=676277

Well I dont know which 6.5 your running but I have switched ROMS myself, I was using the EU rom for the past couple of months, and anytime I got under 40MB free memory, the TP2 would run slow and odd, I recently switched over to the SEA rom, put the exact same programs on and as of right now I am running at 27MB of free ram with nothing running, and its just as fast when its fully loaded and I have almost 87MB of free ram. but its taken 4 days to drop to 27MB, odd.

burtonsnow8 said:
You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.
http://forum.xda-developers.com/showthread.php?t=676277
Click to expand...
Click to collapse
Yeah, also by reducing the ShareMemSize (HKLM\SOFTWARE\HTC\ResProxy) to 0. So I read somehwere!

BioTecK said:
Yeah, also by reducing the ShareMemSize (HKLM\SOFTWARE\HTC\ResProxy) to 0. So I read somehwere!
Click to expand...
Click to collapse
Yes, I'm pretty sure that's what the "dynamic resource proxy" cab does. I don't have my TP2 with me at the moment or I'd test to confirm.

jamesb457 said:
..
Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?
..
Click to expand...
Click to collapse
I'm afraid you are showing your age, so far as I know that slider hasn't been used since before WM5. With WM5 they went to using NVRAM for storage (flash memory if you prefer). Prior to that all WM used RAM for storage - which meant they could not be turned off without clearing everything! But in those versions (I remember WM2003 in particular), you could allocate where the ram was used - storage or programs.
I often think that in some ways those older OS were faster. I remember my XDA mini working very fast. When MS switched to non volatile storage, I think they lost a bit of speed - flash is not as fast as RAM. Of course they gained the fact that you don't have to worry about turning off the power and losing your files!

Related

T-Lite! SuperStorage Rom

Warning: This flash will overwrite your extended_rom!
This rom is very similar to my Dopod Lite (now D-Lite!, I just thought of it!) rom, however, this one is based on bepe's modified T-Mobile 3.6 rom, so it converts your extended_rom memory into additional storage memory. Until I can figure out exactly what bepe did and apply it to the D-Lite rom, I thought I'd put this out there for all you storage memory freaks. (You know who you are.) This is pretty much equivalent to my DopodLite V1.0, so you can read that thread for info about what it looks like, and what I've done to create it. I hope it proves to be just as stable.
Like the Dopod version, this is meant to be a stable, fast starting point for your own creativity. It's much easier to mix and match applications after flashing than before. If you get tired of a particular app, just remove it and try another. If you get tired of a particular skin, try a new look. There's plenty of stable, fast storage memory for loading your today screen utilities, phone apps, voice dialers, animated screens, etc, etc.
This rom does not have: Transcriber, voice dialer, catalog, error reporting, autoupdate, phone home (ceipui), games, calculator, some audio files and other odds and ends. It does include: Office 2007 (No OneNote. Thats not particularly useful unless you have it on your desktop, in which case it installs automatically anyway.), Java, .Net, all the Bluetooth and security stuff, MMS, Camera, and the rest of the basic functionality. If you want transcriber or a voice dialer or games feel free to add them. Ditto for the calculator, which needs replacing anyway.
At cold boot:
4mb page pool: 71.47 mb total storage, 67.10 mb free storage memory, 31.19 mb free program memory. If you delete the startup folder shortcuts, the program memory goes to 31.97 mb.
6mb page pool: 67.10 mb free storage, and program memory is 29.08, and 29.87 mb respectively.
T-Lite 4mb Rapidshare Link
T-Lite 6mb Rapidshare Link
Additional FTP mirror, courtesy of claymen
Enjoy!
Other Stuff
Functionality links:
Cingular 8525 keyboard fix
Cingular WAP settings
Lots of CABs
Lots more CABs
Lots of freeware
Can you make a screenshot of it m8
Great work btw!!
Re: screen shots
It looks just like the DopodLite, except the phone has a T-Mobile skin. I have some screen shots in the Dopod thread. (see my sig)
I'll try to put some here soon.
roms not bad just feedbacking from day of flashing roms thanx
edhaas... downloading now, wil give a run later on!
problem with the wifi it dosn't connect
edward
update:
wifi is ok now after HR
Re: WiFi
edward-riko said:
problem with the wifi it dosn't connect
edward
Click to expand...
Click to collapse
Hi Edward,
Got me nervous (I hadn't checked it), but I'm connected with my home network now. You may have to look up the registry setting to activate "G" capability if your home network is set up for "only G". (Or use a tweak utility that does it for you.) I'm running "G", with a linksys router with WAP, AES security. Works well.
Good luck!
Build No.
Any idea what build number is this ROM (e.g 1620 ....)
--
Thanks
se1095 said:
Any idea what build number is this ROM (e.g 1620 ....)
--
Thanks
Click to expand...
Click to collapse
CE OS 5.2.1620 (build 18125.0.4.2)
To provide my feedback after a couple of hours using....
No problems encountered so far, 3G or WIFI working
Edhaas, as I am really crazy for more RAM, just a suggestion:
Removing application that is rarely used i.e. internet sharing, midlet manager, SAPsettings, streaming media, customer feedback, error reporting and some of the ringtones i.e under the windows\rings folder.
A noob question, noted that from Settings>About>version, the memory in is only 51.02 MB while the total/free storage memory is more than this. Is there any 'truth' in the version memory or just a display?
rgds
Memory discussion!
alancstan said:
To provide my feedback after a couple of hours using....
No problems encountered so far, 3G or WIFI working
Edhaas, as I am really crazy for more RAM, just a suggestion:
Removing application that is rarely used i.e. internet sharing, midlet manager, SAPsettings, streaming media, customer feedback, error reporting and some of the ringtones i.e under the windows\rings folder.
A noob question, noted that from Settings>About>version, the memory in is only 51.02 MB while the total/free storage memory is more than this. Is there any 'truth' in the version memory or just a display?
rgds
Click to expand...
Click to collapse
Happy to help. Glad you're liking the rom. I'm not finding much different in feel from the D-Lite rom (which is a good thing). Everything is working well for me as well. HSPDA, a2dp, wireless stereo over wireless radio in sleep mode sounds great. No lockups so far. All my apps work as before.
Tutorial regarding memory: In this rom there are two types of built in memory, storage memory and program memory. They are physically different and cannot be interchanged via programming. In other roms, the storage memory is broken up and part if it is used as "extended_rom" which is meant to be hidden and used by carriers to put their particular customizations in, which are generally only used once after a hard-reset. This partition was about 10mb in size. Bepe has figured out a modification, which removes this partition and makes the user storage partition (where programs are stored, similar to a disk drive) correspondingly larger. Another partition is used to store the base programs which are "flashed" and include the operating system. Tadzio figured out how to move the boundary of this partition so that smaller roms will free up more storage memory as well.
So, end of history lesson. The storage memory is what is left after all of this, and is used as a "disk drive" equivalent, it is slower than the "program memory" which is like "ram" in your computer. However, storage memory is generally faster than SD card memory, and is preferred especially for "resident" or today screen type programs, because it's instantly available when you first turn on the device. Most of what I and others have done is to maximize the amount of this memory which is available to you, so you can fill it up with programs that load more quickly than if you put them in SD memory. In this rom that free space starts off at 71.47 mb, and then at start-up the operating system allocates some for it's own use, and in other roms customization programs loaded after cold reboot are loaded in there. So, in this rom there are actually 67mb available for the user to play with, which is a ton, and pretty much overkill for 99% of people including myself. As long as there are around 10mb free for the system, the device will work well.
Program memory is "ram". It is the fastest memory and programs in actual use are executed from there in chunks loaded from storage or SD card memory. It starts as 64mb, but the device uses a good chunk of it internally which we have no control over, and so reports the 51.02 mb as what is initially available. However, an additional chunk is used by the operating system, of around 15 mb, leaving the rest for us to actually use. The page pool, which is a buffer used between ram and storage memory comes out of this, as does the ram used by any start-up programs. Generally, as long as you have about 5 mb or so available, the device works pretty well.
[Edit: Addendum: In this rom I have removed error reporting and customer feedback, I'm having more difficulty removing the icons for them however. The other things you mention could be removed, but this would reduce functionality for folks who use those things, and would only add slightly to available storage memory, which as I stated above is already in the "overkill" category. I'll probably cut some more stuff in later versions as I gain experience with this rom, but I doubt there will be any noticeable difference in performance or usability.]
This is a bare-bones account, but hopefully will help you conceptualize things.
Best wishes, and enjoy!
Enjoy the silence!
Added addendum to above. Also I want to report over 50 downloads in less than 24 hours, and no real problems reported. Sounds like another quietly effective launch!
Enjoy your weekend!
Jbed Java MIDlet manager 20070622.2.1 installed but the manager application doesn't opens
edward
ROM hangs and then Hard Resets
Hi Edhaas,
I'm facing issues of Hard Resets.
This is already happenning twice in a day.
I do not have this issue using your last v1.2 versions.
Regards
Fei Yu
fychan,
Y do u need to hard reset? Pls elaborate...
rgds
alancstan said:
fychan,
Y do u need to hard reset? Pls elaborate...
rgds
Click to expand...
Click to collapse
The device hangs randomly.... and once u do a softreset....
It then turns out it hard resets itself.
I'm not sure if its due to MortPlayer?
Anyone have this issue?
Regards
Never experience the problem u encountered... never install MortPlayer
Try running the rom without MortPlayer, c what happen!
rgds
@fychan, I run mortplayer and was going to flash this rom tonight.
What version of mortplayer are you running?
I am currently running 3.31b61 on edhaas's d-lite without issue.
However, on past roms (black 2.5 thru satin and sleuth's developer 2 and 3) I discovered that 3.31RC7 was more stable.
Perhaps downgrading might solve your issue.
fychan,
I can't seem to replicate your issue.
Are you running anything else that might be leading to your strange problem? I ran the latest mortplayer build, playing for a while, pausing, turning off and on, resetting... At no time did my machine reset itself.
BTW, from the little I did see, it looks like a fast little rom here. I can't keep it though as it has the sms/mms together.

Big Storage?

With all these roms with "Big storage", doesnt that mean we are taking memory for the OS? Dont know about you but i store all my info and files on the micro sd so storage isnt the problem but the OS running low on memory to the point that either the programs like "iGo" wont run. Anyone have any idea to set BIG memory if possible so my 8525 will have the memory it needs to run programs?
No you are way off track on what you are thinking Programs need RAM to run which you can add more by increasing the Pagepool we increase the PROGRAM storage if you run out of ram you should get a kaiser I have never run out and I have loaded and run every app I can at the same time
How does increasing the page pool give you more ram?
I agree, it would be nice to have max ram and just enough for storage for essential programs. I have a fast 6gb microsdhc and install everything on that instead.
Chris
i use iGo for my gps. It will say that I have no ram left, and when I check what other programs are running, i have to basically close everything down to use the program. In my older pdas running windows mobile, I had the option to toggle more storage to ram or visa vera but with wm6 I cant. Is there a hack to have more ram for the os.
The more you use the phone, even with all the programs closed the more ram it will use. Only why to clear the ram is to do a restart.
So if anyone knows a reg hack or something please share, cause so far cant find anything
To clarify (this is my understanding)
The total memory on your device is split into say 4 sections when you get it.
Program memory (RAM) -cleared on a soft reset, only holds running processes etc. CANNOT BE INTERCHANGED WITH OTHER MEMORY _ IS BASICALLY FIXED - except for Page Pool.
Storage - where you store programs/files that are not in the ROM
ROM - where the os lives
Extended ROM - additional ROM space.
Now, certain advances mean that
1. Spare space in the ROM image can be freed up and added to Storage memory - this was the original big storage adjustment
2. the Space used by the extended rom can now also be merged to Storage memory - this is the REAL BIG Storage adjustment.
3 The page pool is like a quick access holding area that the system uses to keep files it uses lots. this is part of the program memory but te system does not report it as such. Hence your total program memory plus your page pool is your real program memory. Thus, reducing the page pool will add to program memory. this may impact the performance of your system however.
All this is only my basic understanding.
crazyC said:
All this is only my basic understanding.
Click to expand...
Click to collapse
... and it is completely correct. To say it very clear again:
RAM is physically different memory (different chips) from all other memory. There is no way to get more RAM by sacrificing some storage memory.
That only worked in Windows Mobile 2003, because there also Storage was in RAM. This was changed in WM5, so that data will not get lost when the battery is removed.
Cheers
tadzio
Thanks, that clears that up....lol.
Chris
Memory info
Hi,
I did a little summary of PPC memory here which might be helpful as well.
Best wishes,
Storage Memory Problem
crazyC said:
To clarify (this is my understanding)
The total memory on your device is split into say 4 sections when you get it.
Program memory (RAM) -cleared on a soft reset, only holds running processes etc. CANNOT BE INTERCHANGED WITH OTHER MEMORY _ IS BASICALLY FIXED - except for Page Pool.
Storage - where you store programs/files that are not in the ROM
ROM - where the os lives
Extended ROM - additional ROM space.
Now, certain advances mean that
1. Spare space in the ROM image can be freed up and added to Storage memory - this was the original big storage adjustment
2. the Space used by the extended rom can now also be merged to Storage memory - this is the REAL BIG Storage adjustment.
3 The page pool is like a quick access holding area that the system uses to keep files it uses lots. this is part of the program memory but te system does not report it as such. Hence your total program memory plus your page pool is your real program memory. Thus, reducing the page pool will add to program memory. this may impact the performance of your system however.
All this is only my basic understanding.
Click to expand...
Click to collapse
Thank you very much! This explanation is very useful.
Now I will need some help from the more experienced users...
I'm using a T-Mobiles MDA (838Pro) running WM6, CE OS 5.2.1437 (Build 17944.0.3.1).
For the last month or so, I kept getting messages to say that my Storage Memory is critically low.
I have all my documents, ring tones, music, photos, video, etc. saved on my storage card. So there is practically nothing stored in the device ROM. I've checked all folders under "My Device", and there weren't really a lot of files in there.
I've used Oxios ClearApp and Hibernate to do clean up a few times a day. But that doesn't seems to help.
I've installed Clear Temp and use that to clean up the temp files. It works for a few days, but then the problem returned.
I've even deleted some programs, but it looks like whatever gets freed up will just be quickly be eaten up again.
Has anyone even experienced or heard of something similar? If so, please help!
Thank you very much!
John
Storage Memory Problem
jso905 said:
Thank you very much! This explanation is very useful.
Now I will need some help from the more experienced users...
I'm using a T-Mobiles MDA (838Pro) running WM6, CE OS 5.2.1437 (Build 17944.0.3.1).
For the last month or so, I kept getting messages to say that my Storage Memory is critically low.
I have all my documents, ring tones, music, photos, video, etc. saved on my storage card. So there is practically nothing stored in the device ROM. I've checked all folders under "My Device", and there weren't really a lot of files in there.
I've used Oxios ClearApp and Hibernate to do clean up a few times a day. But that doesn't seems to help.
I've installed Clear Temp and use that to clean up the temp files. It works for a few days, but then the problem returned.
I've even deleted some programs, but it looks like whatever gets freed up will just be quickly be eaten up again.
Has anyone even experienced or heard of something similar? If so, please help!
Thank you very much!
John
Click to expand...
Click to collapse
Dear friends:
Things have gone worse... My Storage Memory has dropped so low that I can't even send out any long SMS anymore.
It looks like I might have found where the problem is, but still don't know how it happened and how to solve it.
First, when I open Settings>Remove Programs, I see that practically all the appication programs are listed under "Programs in storage memory", including those that weren't even installed by me, like "Cyberon VoiceCommander". I'm not sure whether this is talking about the same "Storage Memory". But I thought that when I choose "Install in My Device" when installing a program, it is supposed to go into the "Program Memory", not "Storage Memory"?
Secondly, I took a closer look under "File Explorer", and I've finally found a few files that are very large size:
pim.vol (in root directory), 6.35MB
cemail.vol (in root directory), 412KB
compimeh.0904 (in Windows directory), 16.8MB
It also looks like these files will be amended every time when I do an ActiveSync. Not sure whether this is what caused my Storage Memory to go down everyday.
Has anyone experienced something similar? Would anyone have an idea of what these files are and whether it is safe to delete them?
I really appreciate if someone can help!
Thank you very much!
John
Thanks to those who were reading and trying to help. I have part of the mystery solved.
From this thread: http://forum.xda-developers.com/show...=compimeh.0904
I learnt that the file compimeh.0904.dat is in fact the dictionary that the Hermes used to autofill when we type our e-mails and messages. It will keep growing as we use those functions.
I have followed the instruction on the thread and deleted the file. Now I have 16.8MB back.
But I still don't understand how 30MB of my Storage Memory would be occupied. If some friends here can shed some light, it would be most appreciated.

Ram availability and Wm 6.1

So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
bartybet said:
So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
Click to expand...
Click to collapse
I'll follow with a really ignorant question.. is there any way to shift the memory to program RAM vs storage? ie. I've got a 6G SDHC card.. I don't care about "bigstorage".. I'd rather see "bigRAM" builds.. but since I've never seen a single one, I'm guessing that isn't possible.. I suppose the flash ROM wouldn't have the write cycles to act as a RAM...
zim2dive said:
is there any way to shift the memory to program RAM vs storage? ...
Click to expand...
Click to collapse
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
bartybet said:
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
Click to expand...
Click to collapse
I thought I remembered such a function from my X50v days..
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Don't get it.
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
I have looked with interest at the new 6.1 ROMs until I search through the posts and find that, at startup, the more desirable ones (with the features I would like), have Free Program Memory in the very low 20MB range. Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM a couple times a day to recover Program Memory and everything is fine. I don't like running this lean and am considering upgrading to a Tytn II (AT&T 8925) with roughly double the memory of the Hermes so I don't have to worry about memory any longer. For me, the 6.1 ROMS with anything worth running and the current memory on the Hermes just doesn't make it. And I love the 8525.
zim2dive said:
I don't care about "bigstorage".. I'd rather see "bigRAM" builds..
Click to expand...
Click to collapse
You are damn right!! Thats my opinion too!
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. [...] With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
[...] Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM [SkTools!] [...] to recover Program Memory and everything is fine.
Click to expand...
Click to collapse
I've the same setting like you, I am running a clean WM6 with my costum apps and I am also about 25 mb Ram (only with Sk Tools Ram tuning).
So, our future cooking motto is: " We Love SuperBigRam-Builds "
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Keep in mind that if you do this, the DLL files etc cannot be loaded in shared memory - so your applications have to load their own instance of compressed DLLs. This can make things VERY RAM hungry on your devices...
I run Pays 6.1 rom and i get about 25 megs at start up with Activesync connected to my exchange server.
I notice some roms have a total program memory of 50 megs and some only 48 megs. Does this mean that the rom can be tweaked to get more than 50 megs of Program memory?
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Does this save Program RAM? Or Storage space?
pvs said:
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Click to expand...
Click to collapse
Thanks. Informative, tho not the answers I was hoping to hear
Free Program Memory
I understand the preoccupation with maximizing Storage Memory. It is the only memory that apparently can be manipulated. But, the exercise seems rather academic to me with the advent of SDHC cards. It isn't storage memory that has ever been a problem for me, it is Program Memory. And Program Memory cannot be expanded (my understanding) so the only solution is to execute fewer or smaller programs if you want to maximize free Program Memory.
Unless we can get someone to develop a "virtual memory" feature that uses an allocated portion of SDHC memory as Program Memory, the only way we can maximize free program memory is by loading fewer applications, normally through a clean and lean ROM. If it could be accomplished, it would still pose speed issues in that the pipe to the SDHC card has to be far slower than the internal memory pipeline.
My 2 cents worth.
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
.
Click to expand...
Click to collapse
Don't understand it either. Do the base 6.1 roms come with that little ram built in? Maybe that's why there isnt an official version released yet. They cant get it to run more then 3 things at a time.
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
sebastianmc said:
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
Click to expand...
Click to collapse
Yeah but slow as hell! Pagepool is made exactly to speed up the PDA by caching some data.
The problem is:
- 26-30Mb of RAM are far from enough for a web browser with flash content
- SD card bus is so slow on latency that can hardly be used as a virtual memory for active programs
- No pagepool or no cache is not an option
Perhaps someone could build ASAP an application that would transfer non-active drivers/apps or less demanding apps to a virtual RAM on the SD and keep the active ones (HTC Home, phone app, Web browsers/games) on the real RAM
One of the best apps for a mobile is OXIO stuff that will free RAM but perhaps the best option is an app that *in case of very low memory* would free non-used ram and would compress the demanding app data on RAM (usually I only run out of memory if I surf on the web with opera or netfront). Of course it would slow down a bit the PDA at that point but at least the app wouldn´t stop and would run until nothing could be really done.
Does anyone knows an app that does this on-the-fly? (auto-free and compress RAM)
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
sebastianmc said:
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
Click to expand...
Click to collapse
Curious ... did you ever test a ROM with a 6 or 8MB PP? That is where the difference is supposed to be notable.
I've toyed with these settings. These ROMs seemed faster at first, but I'm not so sure if there's a significant difference in the long run. As these were my own home-cooked ROMs I was experimenting with, I never kept them for any length of time.
I'd like to know your experiences with large PagePools, rather than the 4MB default.
Thanks!
-pvs
Pumpiron579 said:
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
Click to expand...
Click to collapse
I tried the Kaiser and found it slower than the Hermes even though it had more memory. The thing was laggy. They need to put more powerful processors into these things.

[APP] EatMemory

In light of recent discoveries about the HD2's hidden 128MB RAM, I've written a small application which uses the native Win32 API to allocate as much memory as it can (up to 2GB), and verifies it.
Notes:
This application is designed to test the limits of your device's memory. In particular, to test if the HD2's additional 128MB is actually usable or not.
This application will attempt to allocate as much memory as it can, OS limits notwithstanding. The application allocates memory in the OS's shared memory space, which means that it isn't privy to the usual 32MB address space limit.
Because the application isn't limited to 32MB memory usage, you don't need to run multiple instances to consume your memory. Just one instance will do.
This application does not use .NET, and instead uses the direct low-level kernel memory management functions (VirtualAlloc and VirtualFree) to reserve, commit, and free virtual pages. This means that the application has much more precise control over memory, and can consume memory until only a couple of megabytes remain.
This application verifies the memory it allocates, by writing a byte pattern to the memory, and reading it out again. This is necessary because the Windows CE kernel does not commit pages to physical memory unless the memory page is read/written from at least once. This also guarantees that the memory is, in fact, usable and valid.
The attached zip file includes an executable file and source code (C++, requires Windows Mobile 6 SDK).
hi! i've tryed it in my rom without the hidden ram enabled and the result is:
Success:could not commit pages
memory eaten:132MB
and after the programs close my free ram is 145, i guess last 10mb are not usable for some reaso? (WM6.6 memory management?)
regards
makeveral said:
hi! i've tryed it in my rom without the hidden ram enabled and the result is:
Success:could not commit pages
memory eaten:132MB
and after the programs close my free ram is 145, i guess last 10mb are not usable for some reaso? (WM6.6 memory management?)
regards
Click to expand...
Click to collapse
also when used with rom with hidden rams avaliable it closes before it the 1mb is filled
hm, got 180 on my rom
Memory eaten : 276 MB
after 290 MB free
Sorry. This is not working for me... It did not constantly allocate any ram on my device...
with a modified version of my "old" program, i was able to eat up 99% of ram... Still, I think in my first attempt i did proof the existance, cuz i definetly used more then 448 MB of RAM....
greez
Soft-resetted my HD2, run the app. and got 204 MB. So does this proove that I don't have any hidden RAM or not?
everyone has 572mb- stop bothering...
We don´t have the 1. of april, but carneval is still going on, so this may be the reason for this joke i think.
I'm interested if this will work for X1?
it is for HD2
but onyone tst this for X1?
sorry for my bad english
Is 25 minutes to long
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Do you think this would work on Rhodium too?
Thanks,
Im getting 272-276mb eaten fairly consistently after the os has been up for a few hours.
and 280-284mb after a soft reset on my HD2
bobcsc said:
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Click to expand...
Click to collapse
It's odd, it should work on any WM6 (or higher) device.
bobcsc said:
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Click to expand...
Click to collapse
the results window may get hidden Ive had that a few times.
use a taskmanager to bring it to the front
Work on Diamond 2 (Topaz) ?
abdess47 said:
Work on Diamond 2 (Topaz) ?
Click to expand...
Click to collapse
i try out but i don't see any change in ram memory... stil 179mB..
Keep in mind that the application frees up all the memory it chews once it's done. So after the application exits, your amount of free RAM will not be changed. The application should report how much memory it managed to allocate once it's done, and if you open up the memory screen in settings (or whatever) you should see the amount of free memory drop as the program runs.
Sounds like some pretty heavy stuff. this is gonna be huge
I think, this program can be used for cleaning ram
thank.

[REQUEST] Disable Windows Mobile Memory Management/Secure Apps from it

Dear experts,
Since I'm using custom Roms (with 6.5 or 6.5.x), I was asking myself why for god's sake my Browser was supposed to close in the background while I was downloading a big file or why my Windows Live Messenger is always being closed while I'm not having the focus on its window ...
Well I'm now at the point to know that Windows Mobile loves kicking Applications out of the RAM, especially when having a high memory consumption ... BUT why does it do this to apps that obviusly are supposed to be also running in the background (messenger) and also, why does it start closing applications even with more than 10% of my Ram left? I thought Ram was used to store programs in it, not to keep it empty and clean ...
So, is there ANY way to disable this "feature" that kills the possibility of multitasking? Or at least any chance to prevent Windows from always killing WLM and Opera? I already found "EverApp", but it doesn't work too nicely ... The added programs are still being closed and I cannot reopen then, as they are still present inside my memory ...
Thanks in advance!
Edit: And I totally wouldn't mind having the errors related to disabled memory management, as I have cleanram and a task manager to do that myself and would prefer it to have it that way
I am looking for a solution to this as well.
I am using an HD2 with 576MB enabled, and IMO it's unreasonable for WM (6.5.5) to close application ad libitum if I keep open:
1) tomtom
2) navicomputer
3) mortplayer
4) acr base (a background process that automatically record received and made calls)
With 576MB total ram, even with the memory taken by the OS, it's unlikely for the ram to be unsufficient to run these tasks at the same time... instead, it should be able to run at least other 2 application and have yet more to spare.
Asking the developer of the call recording software to make it into a service could be a way (and I already did), yet I cannot really have navicomputer made into a service, let alone mortplayer, and those got closed by WM as well while I was driving (imagine the trouble I had to go to start them again while holding the steering wheel, lucky me it was in a semi-traffic-jam).
Isn't there any setting to reduce the occurence of this behaviour? Has the page pool value have something to do with it in any way?
EDIT: just digged some more in the concept of pagepool. So I know what it is and how it works. Yet the mistery deepens, afailk the default pp on the leo is 15mb, some cooks set it to 22-24mb, yet very far from the ~270mb free program memory I get after boot... starting tomtom, navicomputer, mortplayer, and having acrbase in background amounts to less than 15MB of ram, go figure if it makes any sense that with 276mb starting free ram WM should close any of these apps... maybe it's all the other way, and I should have a bigger pagepool to accomodate all those applications at the same time?
pagepool is for system processes (i.e. inaccessible to you). increasing pagepool would only result in *less* memory available for your user processes, such as tomtom, navicomputer, etc.
unfortunately i have been looking for a solution to this problem for many months and it is, as far as I can tell, impossible to solve. this is, imho, the worst thing about windows mobile. they did not correctly design the core operating system and created this ugly, ugly hack to prevent the system from crashing when it runs out of memory, and as a side effect it closes your programs without saving any of their data.
an equally ugly workaround is to use XTask, and "hide" the processes that you do not want closed. you see, if they are not visible in task manager, then windows mobile does not auto-close them. they are still running and in the process list, just not the task manager list. in order to hide a process in xtask, you open up the task manager list, long-press on the task you wish to hide, and go to Other->Hide. In order to make a process visible again, you have to find it in the Process list, click on it to view its windows, and long-press on the main window of that process and choose Show. You have to do this very quickly because windows closes background tasks and not the active task, so when you open XTask, it becomes the active task and the one you are trying to hide becomes backgrounded. you have about 5 seconds to hide it before it closes. its a very convoluted process but it works. i can get my music started in kinoma, hide the task, and then open up Garmin. As long as garmin stays in the foreground everything can rock along indefinitely.
Yes, that's sounds literally obnoxious, a workaround which would be just right for a setup with an htc alpine running wm 6.5 maybe... absolutely not acceptable for devices such as rhodium or leo which have plent of resources.
I stillw onder though, I have no idea about total/free resources on tpro2, yet with ~280MB free ram, and only 15mb worth of applications in ram loaded subsequently, how can windows mobile "decide" it needs to close either one of them?
I'd like to think it was just something weird going on with that particular session, that maybe got solved after a reboot, yet I have mno way to confirm it, as I didn't need to load the same amount of applications since then
I actually have the opposite problem on my HD2 running Miri's roms -apps don't close themselves down at all most of the time, which means when I have about 5 "windows" worth of programs open (ignoring other stuff I have running as a processes), or 1 Opera Mobile 10 window my HD2 starts behaving weird and gives me errors everytime I try to start up another app unless I shutdown said memory intensive app.
Might be because I use Ameba to close down any apps I'm not using (always)... or maybe because I've set the glyph cache to 524kb like suggested in the HD2 tweak article on Pocketnow.
ephestione said:
Yes, that's sounds literally obnoxious, a workaround which would be just right for a setup with an htc alpine running wm 6.5 maybe... absolutely not acceptable for devices such as rhodium or leo which have plent of resources.
I stillw onder though, I have no idea about total/free resources on tpro2, yet with ~280MB free ram, and only 15mb worth of applications in ram loaded subsequently, how can windows mobile "decide" it needs to close either one of them?
I'd like to think it was just something weird going on with that particular session, that maybe got solved after a reboot, yet I have mno way to confirm it, as I didn't need to load the same amount of applications since then
Click to expand...
Click to collapse
The storage manager doesn't necessarily decide to close things based on free program memory (of which you clearly have a ton), but also based on free virtual memory. You only get 32 MB per process, and if you load a bunch of dll's for resource heavy applications, you can run low on virtual memory. This is a good read on the issue. You can run virtualmemory.exe with some of your apps running to see if this is the problem.
def bookmarking this thread! i had similar questions!
aussiebum said:
I actually have the opposite problem on my HD2 running Miri's roms -apps don't close themselves down at all most of the time, which means when I have about 5 "windows" worth of programs open (ignoring other stuff I have running as a processes), or 1 Opera Mobile 10 window my HD2 starts behaving weird and gives me errors everytime I try to start up another app unless I shutdown said memory intensive app.
Might be because I use Ameba to close down any apps I'm not using (always)... or maybe because I've set the glyph cache to 524kb like suggested in the HD2 tweak article on Pocketnow.
Click to expand...
Click to collapse
I'd actually LOVE to have your same "problem"
Since WM is all about "having control", at least more than what you get with other "commercial" phones, I would prefer very much to decide which apps to keep open, which ones to *manually* close to free resources.
Just like I do with my desktop pc (did, actually... since 4GB of ram are truly hard, for my use, to fill up to the critical point even starting a ton of programs at the same time)
Farmer Ted said:
The storage manager doesn't necessarily decide to close things based on free program memory (of which you clearly have a ton), but also based on free virtual memory. You only get 32 MB per process, and if you load a bunch of dll's for resource heavy applications, you can run low on virtual memory. This is a good read on the issue. You can run virtualmemory.exe with some of your apps running to see if this is the problem.
Click to expand...
Click to collapse
thank you for the enlightening reference, I was actually curious to know the real reason behind this!
EDIT: (some minutes later) really interesting read, even without the need to dive into the huge two-page article linked from that page. Now at least I *know* the cause of this, and regarding this Leo I feel like having bought a ferrari which can only be fueled with a second grade combustive which can only output 50HP when in reality the engine is capable of 200. Something which is the contrary of what I was expecting from a WM device when compared to its fashion and more commercial equivalent so dear to some.
Which leads me to be curious about aussiebum's situation, where instead he appears to be able to keep opening programs without any automatic-close behaviours. It may still very well be that in the occasion where I had autoclosing problems with only a handful of apps open and running, there was something gone wrong that was solved with a reboot, I have yet to find the time and willingness to recreate the setup
so there wont be any solution for this quite anoying bug/feature?
-.-
HD2
I have a stock TMOUS HD2 and it seems to have a max open programs set to 7 somewhere and it doesnt matter how memory intensive the program is. it does get mighty slow though!
Have any of you tried AutoClosePatch ? I made that for a similar problem on the Omnia II, I have heard of people using it on the HD2 with success (i.e., it being useful). I've never really run into this problem on the HD2 itself, though.
http://www.chainfire.eu/articles/68/AutoClosePatch_1_1_released/
Chainfire said:
Have any of you tried AutoClosePatch ? I made that for a similar problem on the Omnia II, I have heard of people using it on the HD2 with success (i.e., it being useful). I've never really run into this problem on the HD2 itself, though.
http://www.chainfire.eu/articles/68/AutoClosePatch_1_1_released/
Click to expand...
Click to collapse
Thank you for pointing us to yet another pearl of usefulness of your code
I will test it and I think I should be able to report the result in at least a week.
If the 15MB lower limit and 20MB upper limit do work on Leo as well, I think I will be able to start more applications together than I will ever need
EDIT: didn't make my leo explode, yet it didn't have the desired effect, alas. I could apparently keep starting apps one after another, then at a certain point I always got a system error notification about not being there enough free ram, and that for anything I tried starting no matter what it was, not even WM task manager. Even if I tried bringing back on top the already started apps by clicking on their icons gave the same error.
I uninstalled, restarted, and tried without it, and set battclock showing the free MBs of ram available. Well, after boot I have 270MB free, believe me or not I couldn't get lower than 214MB free, it kept closing down applications. That is just plain, utterly, abominously, scandalously STUPID.
Chainfire said:
Have any of you tried AutoClosePatch ? I made that for a similar problem on the Omnia II, I have heard of people using it on the HD2 with success (i.e., it being useful). I've never really run into this problem on the HD2 itself, though.
http://www.chainfire.eu/articles/68/AutoClosePatch_1_1_released/
Click to expand...
Click to collapse
Gonna try this to...hope with more sucess.
>edit< ....unbelievable. IT WORKS...was searching months for a working app/tweak. Thanks chainfire...Donation is coming (=
--> 6MC52681G3154311A
I might have managed to get my HTC HD2 from closing my application. I have downloaded Advanced Configuration Tool There is a section in this application called HTC Task Manager. In there I disabled Auto Kill. Only time will tell I guess.
Davearia said:
I might have managed to get my HTC HD2 from closing my application. I have downloaded Advanced Configuration Tool There is a section in this application called HTC Task Manager. In there I disabled Auto Kill. Only time will tell I guess.
Click to expand...
Click to collapse
Restored a backup, to ensure that chainfires tweaks arent present.
Ure way didn't work for me.
After the 6th and 7th opend app, taskfacade & than s2p closes.
Test that:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LowMem]
"ProgramMem"=dword:0
j4n87 said:
Gonna try this to...hope with more sucess.
>edit< ....unbelievable. IT WORKS
Click to expand...
Click to collapse
dang, you were luckier than me.
How did you test it exactly? Up until what free ram amount could you go to?
As I said in my previous post, I can apparently open as many apps as I want until the point I get the system insufficient memory error, and once there I cannot start anything at all, not even a task manager
Ham3r said:
Test that:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LowMem]
"ProgramMem"=dword:0
Click to expand...
Click to collapse
I don't even have that key... so I suppose it's not for leo's purpose
Well, you have to keep in mind, AutoClosePatch only helps when the problem is actually the free memory.
An explanation what may also be going on is here: http://www.modaco.com/content/i8000...ying-the-virtual-memory-monster/#entry1250151
What is comes down to is that the _virtual_ memory management may run into "no available memory" even though there is more than enough _actual_ memory available, and can be dependant on the amount of DLLs and executables loaded. It is a tricky subject to fully understand, but there are a myriad of reasons why this error can occur (and AutoClosePatch only fixes one, that nevertheless is often the problem). Most of these "other" reasons are due to how WM (or our base version of CE, rather) is built. Most of these issues are fixed in later versions, of course (we are now two revisions of CE farther), but unfortunately we won't see that until WP7, which, well....
Chainfire said:
Well, you have to keep in mind, AutoClosePatch only helps when the problem is actually the free memory.
[CUT]
Click to expand...
Click to collapse
whoops, yes, silly me; thanks for reminding me of that fact, I actually have delved a little into the problem of 32mb virtual memory limit under CE 5 core, which alas is the base for 6.5.x as well (and which is a different matter than "free ram"), and for an optimistic while I thought your utility could overcome that, forgetting you clearly stated in your blog that it addresses only the free physical ram issue.
But since I get auto-closing problems starting from more than 210MB *free* ram, it's definitely a virtual memory issue, so technically your patch doesn't interfere with that.

Categories

Resources