Question related to the memory of Trinity - P3600 General

Hi all,
I'm using a HTC P3600. I saw from the wiki "128MB flash ROM and 64MB RAM".
But when i look at the memory of my P3600, it display "Program total: 48.97MB, Inuse: 28.46MB, Free: 20.51MB". And another is "Storage 53.39MB".
Is it correct? And in the about page, i notice that " Memory: 49.22MB"
So what is the correct RAM of a TRINITY?
And i've also faced to a problem related to playing music.
I use window media to play a song. But it's only able to play around 5-10 seconds, then jump to play another song. I turn on the memory and notice that the free memory continuous decrease from 20.51MB to 6MB. WHen it jump to another song the free memory reset back to 20.51MB and then drop down.
Could you please answer my questions?

Some rough calculations:
IPL,SPL,Splash Screen ~ 3M
ROM Files ~ 50M
Radio ROM ~ 8M
Page Pool ~ 4M
Extended ROM ~ 10M
User Storage ~ 53M
----------------------------
Storage = 128M Flash
Memory for OS ~ 17M
User Memory ~ 49M
---------------------------
Memory ~ 64M

Thanks,
Do you know any software that can show us which program/process is using User Memory ~ 49M?
Regard to the second problem, Soft Reset can solve that problem.

try acbTaskMan.

Related

Memory allocation problem

I've upgraded my Magician with Anansky's big_storage rom... I want to use as much of the memory as possible for Program memory as opposed to Storage memory, so I load up the Memory Settings and slide the pointer from Program towards Storage... however, it seems to reset the pointer straight to the middle if I leave it a few seconds... even although I am keeping the pointer between the two markers (within the blue area).
The only program I am running is Spb plus.. does anyone know why I can't set the program memory higher than the default?
Memory Settings reports:
Total main memory: 57.41Mb
Storage
Allocated: 26.64
In Use: 7.81
Free: 18.43
Program
Allocated: 31.17
In Use: 12.68
Free: 18.49
I face the same problem in Blueangel also,
by trial and error I found that around 92-95 megs out of total of 128 megs, remains stable and does not slide back. u can try yr optimum config.

HIMALAYA v1.60a and Memory

I have just upgrade my XDA2 to HIMALAYA v1.60a.
I have found a few problem regarding the memory usage:
- when I want to install a program into Program Memory (I only has this choice), it say size of Program Memory is 8M or so, but XDA2 says it has a lot more.
Please help me, how to get around with the memory problem?
Please choose the right version before installing....here is a short desc -
1.60a
This version's main advantage is persistant storage, meaning, you never loose your contacts, installations etc. even if your battery drains completely. For this reason, the 128megs is used as ram, and the 14 mb partition (flash disk) is used as storage (rom). So this limits storage space to around 14 megs...Unlock the extended rom (for an additional 16 megs). But then, you need to manage ur system root, which will still be 14 megs!
1.50i.xx (xx is 96, 64, 32)
This version is good for you if you need more on device storage space, the drawback is, you dont have persistant storage, as it uses a part of your system ram for its device root. The "xx" in the version number determines the ammount of program memory allocated within the ram. So if you need 32 megs storage, go for 1.50i.96, if you need 64 megs, go for 1.50i.64 and so on. If storage space is important, go for this version!
I'm on 1.60a, as I want persistant storage anyway
Last thing, get to http://www.buzzdev.net man! better place if you wanna be on WM2005 os!
San
Thank for the explaination, San. Now I got it.

Diminishing Memory

I did the big storage hack thereby gaining for myself the extra 26.72 mb of space. I have a O2 mini. I used the Method C, using a copy of my own ROM (referred to notes from the Dubai forum). I then went out on to install all my programs into the newly acquired storage area. Some cab files from the saved extended rom (my extrom version is 1.12.920 wwe). Yes ! it is not blank even though I did the hack! Strange.
Programs installed in Storage card of 256 MB
(1) Lexisgoo
Programs in the storage memory of 26.72 MB
(1) BurOaks Conversion in Hand
(2) Conduits Pocket Player
(3) Illium Software E Wallet
(4) Johnathan sachs stop time
(5) Microsoft Voice
(6) Omega 1-Calc
(7) Phatware Phatnotes
(8) Phatware Phatpad
(9) PocketX Photo Contacts
(10) Resco Audio
(11) Resco explorer
(12) Resco keyboard
(13) TCPMP &
(14) Webis Pocket Informant
Program in Main Memory
(1) Phatware calligrapher
I use Pocket Nav to task manage
Earlier I had around 22 mb of memory free. Progressively as I kept using programs and closing them I find that my system is reporting less and less free space. Currently I have 5.37 MB free space, such that the systems flashes the message “the device is critically low of memory etc. etc.”
Total Main Memory - - > 57.42 MB
Allocated:31.49 MN Allocated: 25.92 MB
In use: 28.60 MB In use: 23.44 MB
Free: 2.89 MB Free: 2.48 MB
Storage 26.72 MB
In use: 20.63 MB Free 6.09 MB
My contention is that after loading all programs in storage memory I should have enough free space for running programs. Since, this was the main reason to do a big storage hack. Moreover, now, at any given point I do run more than 1 program in the background.
Also assuming I did not have memory problems, how much further programs could I squeeze into the storage memory ?
Can someone please help?
It appears that you have a memory leak.
Memory can and does get consumed and lost over time due to badly written programs and other OS issues, but to be down to "critical memory" in 1 day is unusual. I run many more programs and that almost never happens to me, so I think that it's either the combination of programs you're using, or how you're closing the tasks. You should know that "closing" tasks can also leak memory potentially.
None of the programs you mention seem to be particularly dangerous, and your setup is not unconventional. I suggest that you use a systematic approach to examining your system and apps, checking each by opening and closing several times, to see which, if any are leaking memory. Run only one app at a time, checking memory before and after.
VJEschaton has a freememory display (and an alpha release memory compacter) if you don't have another one anywhere else.
V
Phew ! A reply at last ! Thank you. I was loosing patience and I needed some sort of explanation. I agree with your explanation. Before posting here I have been reading a lot on this forum and other forums regarding the big storage and what it does. A few questions that I have which I am listing below. I hope you don't mind answering.
(a) Do I need to flash my modified big rom again ? Then start all over again installing my programs.
(b) Could something be wrong with my Device. Which means I have to flash my old, save rom, go back to old Ext rom of 7 mb and then reflash with the Big storage ROM
(c) Stay where I am (with big storage) and install /uninstall programs till I pin point the offending program.
(d) It could be Pocket Player which is the culprit since that was the last program I installed. At that time my free memory was between 21 & 24.
(e) Can I continue to install more programs in storage memory until it is full to capacity and ;
(f) then install other programs to Card
(g) Why would my Ext Rom not show blank (since I have modified this area). Instead it is showing me the Ext Rom Version Number 1.12.920 WWE when it should be blank
(h) Would SK Tools, Freeup Ram be of any help if I install it.
Regards,

Maxed out Memory In Use...? No Programs running

I have a Wing Win Mobile 6 Pro CE OS 5.2.1235 (Build 17740.0.2.0)
In the Memory settings it shows Program is using:
Total: 43.87 MB
In Use: 39.42 MB
Free: 4.45 MB
And no programs are running???? I have a friend with the Dash and they have the same issue also.
I store my files on 4GB mem and only have main programs on the internal storage.
Please Advise.
Its a 12mb pagepool problem on the wing, they have a fix for it already, prob listed more than several times on this forum. Search for wing page pool. It takes litterally a second to do and you will have more memory after a reset. And the free memory is your RAM has nothing todo with how big your files are and where they are stored, Its simply what the Wings OS is using to run.
Aside from the 12mb pagepool:
1. MS Live has a severe memory leak.
2. My5 sucks up memory as well.
Many things in the standard wing ROM seem to have bad memory leaks...
There's a few things you can do.
I'm running an 8MB page pool.
What services/apps are unecessary and can delete/remove without affecting the standard image?

20080616> Can WM 6.1 have 64 MB Program Memory?

Requests/suggestions please for WM 6.1 cookers considering their next release:
- 64 MB Program Memory
- Absolute bare skeleton WM 6.1
- essential candidates for removal:
> customer feedback
> windows live
> any windows help & support related bloatware
> error reporting
> search
> windows media player
> any animated items, icons, etc..
> junk items under \windows; unnecessary gif,jpg,bmp,png
etc, text files
- single boot screen, no splash, animations etc..
minimize WM 6.1 boot time
- removal of other misc bloatware, vaporware that are not
core to the function, speed and stability of WM 6.1
======================================================
To the site Administrators:
-------------------------
- can we initiate a donation bucket in which people may contribute
and pool donations?
- 1 month period (or other) in which donations can be collected and
cookers may submit their best releases
- the people (users) vote during the period on what they find to be
the most efficient, stable, fast, clean and best performing rom.
- at the end of the period the donation pool is distributed to the top 3
most voted cookers, e.g. 60%/25%/15% respectively.
======================================================
Suggestions, ideas, recommendations, criticism etc certainly
welcome.
Thanks to all
--kara
64M program memory mean No WM.
why?
is there a maximum?
Thanks,
ks1781 said:
why?
is there a maximum?
Thanks,
Click to expand...
Click to collapse
you are really someone )
Trinity have only 64MB build in , how come it have 64MB program memory ? DId you have brain ?
--yes,
if the device has 64 MB SDRAM, why is it that most cooked roms
generally present approx. 50 MB of that?
is this a limitation or is missing 14 MB used for a special purpose?
Thanks for any advice.
?? because it takes up space to install the operating system.. even a 'bare bones' operating system is still an operating system..
did you ever wonder why there's space missing from your hard drive after you install windows xp?
http://www.htc.com/www/product.aspx?id=470
Memory ROM: 128 MB
RAM: 64 MB SDRAM
What is the ROM 128 MB designated for?
Thanks for your patience with me.
--kara
if i understand him correctly, he is referring to the program memory i.e. RAM not ROM. the 128MB ROM is meant for installation of OS (WM) where the 64MB RAM is the execution power. we normally get ~20MB-25MB RAM free out of 64MB total. i believed the rest (64MB - 25MB) was used for other services once WM started.
yes, that is what i'm trying to understand..
in this p3600 specification from HTC:
http://www.htc.com/www/product.aspx?id=470
it lists>
128 MB ROM
64 MB RAM
=================================================
for the 128 MB ROM
I assume the 128 MB ROM contains the OS installation, with
some component of this ROM hidden/reserved.
E.g. some cooked roms released have 'Big Storage'
~70 MB available to the user for NV storage
the remaining 58 MB comprises OS installation and a reserved
area.
=================================================
for the 64 MB RAM
This is the volatile memory available for the OS to boot & run, and
for program execution.
However, on most cooked roms I have used, under
Settings -> System -> Memory
'Program Total' is reported as ~50 MB.
So my question is - where is the remaining 14 MB RAM??
as dum as it sounds i've wondered about that too
even formatting issues aside (like how hard drive capacity is always lower than reported), 14MB seems like a lot to 'go missing'.
why doesnt WM even report it? because its being used by the system for services? so then why does it ALSO report itself using around 20MB of what's left?
that way, it's like 14 MB used (hidden) + approx. 20MB reported (shown) = approx. 34MB total? :/ hmm
ks1781 said:
So my question is - where is the remaining 14 MB RAM??
Click to expand...
Click to collapse
OK - You have a PC with 1GB of RAM say. Once say windows xp has booted up - your AV started etc. you probably have 684MB say of RAM left, so Where did the other 340MB of RAM go to?
Think about it.
wtf i still don't get it... dont be mad
i mean mine reports 2096236 KB... a full 2048MB of RAM
BUT of course 100-300 minimum will always be in use for the system itself
whereas in WM, it reports like 48MB total, AND say approx. 20MB in use
ok so the 20MB minimum in use will ALWAYS be in use because of windows mobile itself. FINE.
but why does it only represent 48MB as available?
and if that is the case, there's that missing unreported 12MB, PLUS that minimum 20MB always in use
that's what im curious about
Just think that Windows XP takes 250/300 mb of ram space....
PS: Please edit your title... Someone could understand that you really have a 64mb free ram rom......
joncgde2 said:
wtf i still don't get it... dont be mad
i mean mine reports 2096236 KB... a full 2048MB of RAM
BUT of course 100-300 minimum will always be in use for the system itself
whereas in WM, it reports like 48MB total, AND say approx. 20MB in use
ok so the 20MB minimum in use will ALWAYS be in use because of windows mobile itself. FINE.
but why does it only represent 48MB as available?
and if that is the case, there's that missing unreported 12MB, PLUS that minimum 20MB always in use
that's what im curious about
Click to expand...
Click to collapse
Maybe it is for the Radio Rom etc...or maybe Microsoft are stealing Ram and stockpiling it....lol
This is actually a valid question.
The system has 64MB of ram, some how 14MB of this ram is allocated away before the OS loads. This leaves 50MB of ram left for the OS, which uses about 20 MB and leaves 30 MB of ram for applications.
I think everyone understands this part.
The question is, what part of the phone is pre-allocating 14MB of ram.
My only guess is the videocard, if not that then it might be the pagefile.
tetsuo55 said:
This is actually a valid question.
The system has 64MB of ram, some how 14MB of this ram is allocated away before the OS loads. This leaves 50MB of ram left for the OS, which uses about 20 MB and leaves 30 MB of ram for applications.
I think everyone understands this part.
The question is, what part of the phone is pre-allocating 14MB of ram.
My only guess is the videocard, if not that then it might be the pagefile.
Click to expand...
Click to collapse
Does it really matter where it goes? Obviously if that memory hasn't been exploited yet by the excellent cookers etc in here....then it can't be of any benefit.
I concur with tetsuo55.
The reasoning proposed by Andych and others still does not quite
correlate.
i.e. 64 = 14 (OS) + ~20 (progs) + ~30 free
the ~20 is supposedly attributed to basic progs,
e.g. phone, filesys, mail etc..
A listing of such process summates to approx. 8 MB total.
That still leaves 12 MB of unaccounted for basic function
and userland process consumption.
Regarding the ATI video chip, general investigation and
settings check of tcpmp would suggest at best it is a
4 MB chip (whether dedicated or shared)
I cant see the 'remaining ~14 MB' that I'm searching for
being used for paging. Paging is part of overall virtual memory,
and involves page outs/ins to a location on some type
of physical media. Additionally, with the usual ~ 30 MB
ram free, in the context of these devices, a swap requirement
is unlikely given the 'free' memory available.
Although 14 MB may seem peanuts compared to standard desktop
ram configurations today - with a p3600 + WM, recovering the
14 MB (if possible) would provide a much welcomed bonus to
the trinity.
--kara
ahh now we're onto something good work ks1781...
i fully agree with the need to just find out the answer to this... most likely it's something that will be perfectly explainable and make sense and we won't be able to do anything once we find out
but it sure would be nice to know
OK I have the 'answer' - straight from a Windows Mobile blog - I'll post it here cos it's all straight to the point and interesting (somewhat) Link is HERE
The Page Pool
Applications use RAM in two ways. There is code that runs, and there is data that is created while it is running. On a NOR device, the code can run directly from the ROM and not be loaded into RAM first. This process is called XIP (eXecute In Place). NAND devices can't XIP, so their code is loaded into RAM and executed from there. If you don't have a Page Pool, this code is loaded into normal RAM. The Page Pool is a mechanism to limit how much code is loaded into normal RAM. With a Page Pool, we can unload code that hasn't been used in a while and reload it later if we need to. We can't do that without a Page Pool.
On a typical NAND-based WM5 device, the Page Pool is 4.5M.
The Radio Stack
Devices with a Cellular Radio have a complicated bunch of code to make their radios talk to cell towers. On some devices, the radio is a self-contained module with its own RAM and ROM. On others, the radio code is stored in the normal system flash. If so, it either needs to XIP, or it needs to be run in RAM. If it's run in RAM, that RAM is taken away from the system.
A typical radio stack takes 4M.
DMA Buffers
Some hardware can write directly into RAM without using the CPU to do it. This is called "Direct Memory Access" or DMA. DMA is very efficient and lets you get a lot more data transferred in the same amount of time, usually for less power. But it's best to set aside your DMA buffers before the system boots. This guarantees that they're there when you need them. PocketPCs have been doing this for a decade. But, back in the old days, the main use for DMA was audio capture. Audio data is small, so the DMA buffers are also small. Video, on the other hand, is big. More data requires bigger DMA buffers.
An OEM will tune the size of the pre-allocated DMA buffers based on what the device is intended to do. If the main goal is still photos, you can use a much smaller buffer. If the goal is recording video, it needs a much larger buffer. If the goal is video conferencing, it needs a bigger buffer still.
DMA buffers range in size between 300K and 6M. For a video capture device, it's likely to use around 4M.
XIPKernel
There are portions of the deepest parts of the OS that have to XIP. If you're on NOR, that code just XIPs like everything else. Not so on NAND. For a NAND system to boot, it needs to load this code into RAM first and then run it from there. When the system is running, it can't really tell if it's running from RAM or ROM, so it assumes it's running from ROM and doesn't count this space.
The XIPKernel region tends to be between 1.5 and 2M.
The Frame Buffer
There is a chunk of RAM set aside to hold everything that's on the screen. (If you want to know more about it, read this.) On most devices, every dot on the screen needs two bytes. A typical Pocket PC has 240x320 dots. That would be 300K. If you have a 640x480 screen, it's 600K. Sometimes, for performance reasons, devices will have two frame buffers. So this could take up to 1.2M.
Click to expand...
Click to collapse
Thanks joncgde2 - good find which provides a sufficient explanation as to the 'hidden' 14 MB.
There is still another question.
WM reports ~24 MB in use (per earlier screen captures) - where 'in use'
is attributed to running applications.
Checking a process listing via task manager shows the total
apparent RAM in use by these 'running applications' to be ~8 MB.
Can anyone provide an explanation to account for the
remaining ~16 MB??

Categories

Resources