Modifying size of available Program Memory? - Upgrading, Modifying and Unlocking

Has anyone figured out a way to "move" Storage Memory or ExtendROM memory over to Program Memory allocation?
I am typically left with 13-14mb of free program memory with the device sitting idle with only system resources/background apps running and would like to re-allocate unused storage as volatile ram to allow me to run more foreground apps at one time. As it stands I can only get 2 or 3 before WM starts automatically closing down apps.
I'm sure this is some serious hacking...if at all possible.
TIA

you dont mention what wm version you are using but with wm2003
there is a slider
with wm5 and up memory is not shared anymore and all real memory is used for applications
and storage is always flash
flash like cd-rw discs have a limited writes before it dies
and it read and writes much much much slower then real memory
which is why these devices use pagepool to speedthings
up
so one cant make virtual memory out of the flash
and if one could it would maybe slow the devices down

OS version in my signature but yes will be more clear next time
(Even though I did search before posting and didn't find anything) I now recall a discussion on this stating exactly the same conclusion.
Thanks for the info mate!

Related

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.

How to allocate memory (files/programs)

Hi to all, a question, in older Windows Mobile you could decide how much memory allocate to files or programs, now it's exactly half for one and half for other. I mean, I've a Diamond and use Igo8, but 'vent enough memory to make it work well, cause in program memory, after killing all, I reach almost 40 Mb free. But I've 120 Mb free of main storage memory. Or there's a way to command Storage memory (Internal) to work as Ram memory? ope to be clear, thank-you
Allocating memory is a thing of the past (WM 5.0). Although this fun fact is a thing of the past, the good news is, History tends to repeat itself!
The odds are in our favour that we might see this option return .......

[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.

TP2 running v slow - how do i free up memory?

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!

Categories

Resources