Memory - Windows Mobile Software Development

Is there a possibility of using SD card memory for running programs? i write aprogram that need about 20MB of memory for work, but i cannot get enough free program memory....
Any idea?
Thx

Too much memory
I am doing the same, but my program needs about 5MB. I only can think in working directly with Windows CE source code and possibly you will have to remove some DLLs.
Remeber, with the optimized ROM from XDA-devs you can get about 5MB of memory free in ROM. Have you got some idea for getting some more free space, but not as many as you want?
Regards.

http://forum.xda-developers.com/viewtopic.php?t=4589
search and thu shall find

Related

RAM allocation

I'm asking you all WM5 geeks: is there a way to change the memory allocation in WM5? In my prev PPC 2002 I could dedicate more RAM to apps running, but I learned Tynt has no such feature. I also read about the ROM unlocker but I think it's not what I'm looking for since it frees up memory for installing programs.
I would like to move all the installs to the miniSD and I don't care how many apps I can run wothout miniSD... I wish only to have from 10 to 30 MB more memory at expence of internal storage quote.
Is there a trick to perform?
default all 128MB are application memory on wm2005
ppl use the ramdisk at buzzdev to make some of that application memory into storage
if you are using a ramdisk you can use a smaller one you can find them at buzzdev

Strorage status

Hi,all! My softbank memory is storage toatl 41MB, in use 13MB, free 28MB. Program total 50MB, in use 31MB, free 19MB. Is it noraml? How about yours? Does any way to get more memory?
k-k-k said:
Hi,all! My softbank memory is storage toatl 41MB, in use 13MB, free 28MB. Program total 50MB, in use 31MB, free 19MB. Is it noraml? How about yours? Does any way to get more memory?
Click to expand...
Click to collapse
flash a lite rom and only add what you need. Some of the superstorage roms start at around 80MB before you add programs
Thanks Venlar!

make more storage for files than progams ?!!

i need help i want a way to make my storage for files more than my storage for programs i use wm6.5 pda2k i dont care if i have to downgrade for a while to do it i have no problem but what is an os that makes u change the space of the storage
if there is i would me helped by u giving me the rom
25 veiws no answer :|
Thats probably because you didn't write big enough.
Dirk
hehe, nice one, spades01!
ok, no one answers, i'll take it.
@almaster:
you are confusing a few things:
you are probably referring to that memory dialogue you had in wm2003 where you could choose the ratio of program and storage memory yourself. that was possible, because wm2003's storage space "\" (like the C:\ on your pc) was actually a RAM drive, and therefor lost, when the battery and backup battery run dry. there was also a 2nd drive, "storage" that had an icon like a storage card, it was 44mb and was persistent, even after you ran out of energy, because it was not ram based but a real memory chip, like in a usb storage stick, that can also hold data without batterys.
the point is: you cannot pick the ratio of program and storage space yourself, because the only storage space you have now, is the old "storage" drive, the 44mb (or in case you resized the extrom space to 128kb and reparted the drive, like 60mb) that old storage, that looked like an external memory has now become your C:\ drive and that ram space you had is now ram. yes, all of it. 112mb, because while wm2003 could easily run with 30mb of ram, you will see, that wm6.5 with titanium and things like that, will easily take up 60mb or more, with customizations or running programs you might get as high as 90mb, and that is why there is hardly any tolerable loss of ram. but if you do want to have a little more space, either look for a rom that has a ramdisk built in of maybe 16mb, then you will have a 2nd drive again, or, if you haven't done it yet, repart your wm2003's extrom, so your basic storage will go up to 60 mb.
if you happen to have done neither so far, at least you will gain another 32mb to your existing 44mb, that is 70% more, and all i can do for you here.
for the extrom resize, go here: http://wiki.xda-developers.com/index.php?pagename=HTC_Blueangel_WM6_WizzardUpgrade1_WM2003SE0
or here:
http://wiki.xda-developers.com/index.php?pagename=BA_Extrom_and_Repart
for a wm6.5 rom with ramdisk, have a look for yourself, i just looked in xplode's, sun_dream's and swampy395's rom threads and didn't find any, but they are out there

RAM - How to Keep Max RAM Available?

Hello,
I would like to keep the maximum amount of RAM memory free for device use. If I install all my applications on an MicroSD card, (thus keeping the device's RAM clear), will this optimize performance?
Thanks
You can't install apps into RAM. You have 3 types of memory on your device and you seem to be mixing them up and causing confusion.
1. Program memory - this is RAM.
2. Storage memory - this is flash based memory on your device. The ROM is stored here.
3. SD card - self explanatory.
For best performance, you should install everything into program memory.
ohyeahar said:
For best performance, you should install everything into program memory.
Click to expand...
Click to collapse
Don't you mean storage memory (i.e. ROM)?
You can't install programs in RAM. Program information is stored in RAM when the application is running thats the only time RAM is used. Therefore to conserve RAM make sure you close any active programs after using them. You could disable TouchFlo 3D and get a big chunk of RAM back.
On my Mogul I run a program called "Oxios Hibernate" that helps free up RAM from the crap that grabs it as it stays on over time. It helps a lot, but I still need reboots. On the TP2, it would probably work wonderfully.
Thanks for the reply, but the answer is still unclear.
Where should I install applications for best device performance?
Well, you can't install a programm onto the RAM. The RAM is used when you load a programm.
For example, imagine that you install a programm named "Text Editor". You can choose to install it on phone memory (Storage Memory) or on the SD card.
That does not uses RAM. But when you launch (use) the programm, then you use some RAM to launch it. Well, and then, when you close the programm, it does free the RAM used to launch it (or should be).
It's the same in a computer: you can install a game, which require some hard disk space. But to launch the game, you will generaly need some RAM.
So, you can choose to install a programm on SD card or on storage memory. The difference is that, when you want to launch the programm, access will be a little faster on storage memory than on SD card. But once the programm is launched, there isn't any difference any more.
Well, now, to keep RAM, you just need to minimise the programms runnings (for example, installing a screensaver will uses some RAM, as this programm will always be loaded). To do so:
- Don't install to many programms that keeps running all the time (like S2P)
- You can tweak your system and choose not to launch some services (like direct push, which uses 10MB RAM)
Someone correct me if I'm wrong, I'm not an expert.
And sorry for my poor english
Thanks for the detailed explanation, but the question is still open. To make sure we are on the same wave, the device has:
ROM - 512 MB
RAM - 288 (including 32 MB in the 'baseband' according to specs, whatever that is)
SD Slot - Storage up to 32 GB with a Micro SD card I would add
With this information, where should I install applications for best performance? It seems the 512 MB ROM is probably read-only (the operating system should sit here). So if I do not have an SD card, am I forced to install applications in the RAM? I assume I cannot install my applications in the ROM ("Read Only Memory"). My understanding is that the RAM should be kept as clear as possible to allow good performance, and thus programs should not be installed in it? What exactly is meant by "storage memory", the RAM or the ROM?
I am very familiar with PC concepts, but this one has confused me.
Thank you in advance
mail_e36 said:
Thanks for the detailed explanation, but the question is still open. To make sure we are on the same wave, the device has:
ROM - 512 MB
RAM - 288 (including 32 MB in the 'baseband' according to specs, whatever that is)
SD Slot - Storage up to 32 GB with a Micro SD card I would add
With this information, where should I install applications for best performance? It seems the 512 MB ROM is probably read-only (the operating system should sit here). So if I do not have an SD card, am I forced to install applications in the RAM? I assume I cannot install my applications in the ROM ("Read Only Memory"). My understanding is that the RAM should be kept as clear as possible to allow good performance, and thus programs should not be installed in it? What exactly is meant by "storage memory", the RAM or the ROM?
I am very familiar with PC concepts, but this one has confused me.
Thank you in advance
Click to expand...
Click to collapse
ROM is like your hard drive on your computer. Also the hard drive on a phone. You can't install anything on your ram.
You install it on your SD card !!
So it looks like the ROM in this device isn't actually Read Only Memory like one would think?
jayr04 said:
ROM is like your hard drive on your computer. Also the hard drive on a phone. You can't install anything on your ram.
Click to expand...
Click to collapse
Isn't it ROM, as in meaning it's non-volatile. i.e. if your battery dies, you are not going to loose what's stored in it...
Here's how I do things:
Essential utils like task managers, anything that runs in the background etc, MUST go onto the phone and not a card.
Anything I'd want to have regardless of the SD card inserted also goes on the phone. Media players and so on.
Games and large apps go on the SD where possible.
I also have another class: "apps that don't need installed". Some apps you can copy the install directory and just run the exe after a hard-reset. Only works with one that don't modify the registry much. I've figured out which ones of mine work OK and they sit on a special folder on the SD with shortcuts also set up on the SD card. Just copy the shortcuts into the Start Menu after a hard reset and you are set.
However, the TP2 has a huge internal storage area compared to my previous WM phones. Running out isn't going to be an issue.
sakshaug007 said:
Don't you mean storage memory (i.e. ROM)?
Click to expand...
Click to collapse
Haha, you're right! I guess I got confused myself as well!
Anyway, install everything into storage memory!
mail_e36 said:
So it looks like the ROM in this device isn't actually Read Only Memory like one would think?
Click to expand...
Click to collapse
it is ROM,
there are several tyopes of ROM. the ROM we are talking about is EEPROM (can be erased and programmed electrically - using software) or some say EEPROM is Flash Memory.
so,
ROM in the device is Read Only Memory (non volatile)
your SD CARD is also a type of ROM (flash memory) but an external one. So, ROM is basically where you store your data permanently and RAM only temporer when that data is in use (open, edited, etc).
Thank you to everyone who responded to my post, you were a lot of help.
it seems these phones dont actually follow the traditional fetch decode execute cycle that a computer does. instead of a hdd there is a eeprom or flash chip in the phone.. the rest of the cycle seems the same. it will be quicker running things from the device as appose to the storage card as the "busses" are faster however if you have loads of apps open yes device will slow down as the ram will be full everything thats happening goes in to the ram before it goes in to the cpu to be crunched. so you can fill your device with apps and it will nto make it slower, it will only be slower if you leave everything running using up all the ram. sorry naff reply lol
and use cleanRAm by htc adics its great!
ROM isn't the correct term to use anymore (it was back before WM5 where the ROM really WAS read only) (unless you were flashing) but is still used anyways. It is a flash chip that has partitions. After the OS and radio and everything is stored in, one more partition is made with all the space left over and that is where you install programs and save things to. RAM is never used to install programs (it was before WM5, but no longer).
use HtcAddicts cleanRam - is works verry well
Nice post. thanks for the file. So if you want to compare your phone's hardware to the equal function of hardware on your PC: ROM is like your internal hard drive; RAM is like your memory; and the storage card is like an external hard drive. Though keep in mind they really aren't the same, just performing comparative functions.
So if you want your phone to respond more quickly, you want as much free RAM as possible. The open applications and all the processes that are running are in the RAM. Limit those and your phone will respond better (by closing unused applications, running the previously mentioned program, etc.). How full your ROM or your storage card are do not effect performance (to my knowledge). However, applications installed on your ROM will be accessed more quickly than if installed on the storage card. So install all the programs you want on the ROM, there should be plenty of space. Put all your big files like pics and music on the storage card.

Confused: Clarify Free storage

I am looking thru some roms, and whatever ... i see some that have storage and programs free space. This is just one, the last one i looked at before having had anough of the confusion.
Here is what the rom lists
Free Storage: 224.62
Free Program: 70.83 (Manila Running) 78.06 (Titanium Running)
Total storage on my tilt 2 is 225.93 !!!!!! This doesnt make much sense to me. If i install that rom, i will have all of my internal storage free??????????????????
And my program used will be about tha same as i have now??? Well, with a reboot first
The storage (FLASH) of TP2 (and Tilt2 as well, I guess) is 512MB, what you see is what left after the system/being available for programs you would install in so called "internal memory".
Same for program (RAM) - the total is 256MB (plus 32MB for radio section) and what you see (70MB etc.) is a free memory for programs you would run.
More is better, of course, but who cares on "internal memory" when one can fit a card with 32GB of capacity...?
A free RAM is an issue however, so please judge on it rather when choosing a system to install ;-)
Regards.

Categories

Resources