Reply
Thread Tools
Posts: 19 | Thanked: 1 time | Joined on Jul 2006
#1
Hi everyone.

I'm using OS 2006 and the built-in Memory app gives me weird data for device memory usage. It seems kind of inaccurate. It claims:

13% used
Storage memory in use: 7.85 MB
Storage memory available: 50.2 MB

First of all, that's more like 15.6 percent, but whatever.

The problem is that it goes on to provide a categorized list of what's using the memory up, including:

Installed applications: 14.9 MB
Video clips: 2.59 MB
Audio clips: 4.77 MB
etc.

Wait a minute... that adds up to more than 7.85 MB!! What gives? Anyone else have this annoying problem? Is there any way to get more accurate info?

I did a df -h but unfortunately had trouble interpreting the results. I assume the /dev/mtdblock4 mounted at / (123.5M, 52.6M free) corresponds to the internal flash memory.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#2
Originally Posted by cagilaba
I did a df -h but unfortunately had trouble interpreting the results. I assume the /dev/mtdblock4 mounted at / (123.5M, 52.6M free) corresponds to the internal flash memory.
Yes. And it is also good to know that the jffs2 filesystem has inbuild compression. This means that when enumerating files and adding its size you may get even twice the size of space really used (and reported by df).
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#3
Originally Posted by cagilaba
13% used
Storage memory in use: 7.85 MB
Storage memory available: 50.2 MB
"Available" in this case means "free", the opposite of "in use", so memory "in use" should not be included as part of memory "available". The total amount of memory available to be used is (50.2 + 7.85), or about 58 MB.

So, don't divide 7.85 by 50.2 to get 15.6%; you should be dividing 7.85 by 58 to get 13.5% (which rounds down to the 13% that they give).
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:58.