Active Topics

 


Reply
Thread Tools
technut's Avatar
Posts: 574 | Thanked: 166 times | Joined on Oct 2007 @ BC, Canada
#1
I know my N800 comes with 256MB of onboard Device Memory (as opposed to RAM, Internal Memory and Removable Memory). But I haven't figured out how exactly it is being used.

The Control Panel / Memory utility / Details says:
Total size: 251.5 MB
In use: 99.3 MB
Available: 152.2 MB

and the Data tab says:
861kB Documents (I cleaned out most of the pre-installed stuff)
15.5 MB Installed applications

I'll admit I'm a Linux noob and that may explain my confusion... but if I'm only using a little over 16 MB of the memory for my Documents and applications, what is the other 80+MB being used for?

Is there a swap file in my Device Memory (not the Internal card)? Or other system files?

And is there anything special about the Device Memory (other than it being built in)? Should I try to keep it as empty as possible for swap file expansion? Should I be installing applications to one of the SD cards instead? And if so, how would I do that?

Thanks!
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#2
Originally Posted by technut View Post
I'll admit I'm a Linux noob and that may explain my confusion... but if I'm only using a little over 16 MB of the memory for my Documents and applications, what is the other 80+MB being used for?
The majority is system libraries, but also icons, help files, and other misc things.

Last edited by dblank; 2007-11-26 at 06:47.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#3
Well first of all the control panel applet has a tendency to lie and isn't very accurate at tracking used memory - it's entirely possible to run out of physical flash storage (so that it's impossible to install any further applications) and the control panel applet will blissfully inform you that there is still tons of memory available. Not gonna be fixed it would seem - accuracy isn't the point of the applet, providing useless toys to keep the punters happy is far more important. A random number generator is about as much use as the current memory control panel applet.

Anyway, as for where your 80+MB is - I'd hazard a guess that's taken up by the operating system and associated applications (media player, notes, games etc.). As for any subsequent discrepancy that will increase over time, see the bug I've referenced above for an understanding of why you'll never find out where you storage memory has disappeared to.

PS. Using up masses of storage in the home directory is a sure fire way to run out of space leaving the control panel applet entirely ignorant of what you've done... I wrote a simple shell script which lists the size of each file and directory below the home directory, sorted by ascending size which I find useful to run every now and again to catch any runaway processes. Once upon a time, a bug in the RSS applet caused 151MB of storage memory to be eaten in the ~/.osso_rss_feed_reader directory resulting in the root filesystem reaching 100% capacity (ie. no free space). This RSS directory is off limits to the control panel memory applet which remained convinced I still had over 100MB free space - the memory applet is a toy!

Code:
cd ~/bin
wget http://nmacleod.com/nokia/bin/checkspace.sh
chmod +x checkspace.sh
./checkspace.sh

Last edited by Milhouse; 2007-11-26 at 06:55.
 

The Following User Says Thank You to Milhouse For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
Start an xterm. Enter 'df -h' without the quotes.
It'll show you a bunch of partitions/filesystems (and also your SD card(s)), and where the space goes. Also, note that the internal flash is used as a compressed file system, so in many cases you can stuff in megabytes of data that'll show a much smaller decrease in available storage.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
technut's Avatar
Posts: 574 | Thanked: 166 times | Joined on Oct 2007 @ BC, Canada
#5
Thanks very much guys. Milhouse, I completely agree with you about the Memory applet report being bogus information. I'm inclined to clone that old bug report and open it again.

p.s. You pointed out other ways to get more info about the memory use, but in case someone is looking for a graphic app with a bit of info my search turned up "DiskUsage" here:
http://www.anderenen.de/anderenende/maemo.html

Last edited by technut; 2007-11-27 at 06:14.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#6
Originally Posted by technut View Post
Thanks very much guys. Milhouse, I completely agree with you about the Memory applet report being bogus information. I'm inclined to clone that old bug report and open it again.
If you do you'll get my vote!

It seems that the crippled File Manager application has resulted in the creation of (or at least the need for) the bogus Memory applet, consequently the memory applet only reports on the directories that can be "seen" by the dumbed down File Manager app.

While I have some sympathy for this situation, the Memory Applet should at least offer a way to truly reflect how much free memory I have on my device (perhaps an "advanced" mode) or better yet just forget about the stupid File Manager and report the truth! It's ridiculous that the memory applet tells me I have tons of free memory when the Application Manager is telling me the complete opposite and whenever I try to install an app it fails due to "insufficient memory"!

The inconsistency here is breath taking and it's another of those brain dead design decisions that Nokia appear prepared to defend to the death.
 
technut's Avatar
Posts: 574 | Thanked: 166 times | Joined on Oct 2007 @ BC, Canada
#7
Originally Posted by Milhouse View Post
If you do you'll get my vote!
Done. Bug 2399
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#8
Voted and commented.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:02.