Active Topics

 


Reply
Thread Tools
Posts: 140 | Thanked: 10 times | Joined on May 2007 @ US
#1
Am I losing my memory?

I tried to install an application yesterday but it said there was not enough memory. I deleted some files etc... Then I looked in the Memory app in Control Panel. I don't remember what my total was when the N800 was new but now the details have
Storage memory in use: 23.8 MB
Storage memory available: 19.2 MB
so 43MB in total. Is this what others are seeing?

using latest firmware 4.2007.26-8

 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#2
You're not giving us the full story... what do you have in Web pages, Documents, Contacts, Installed applications and Other files (all of which appear when you scroll down).

For reference I have:

Code:
   Storage memory in use:  30.1 MB
Storage memory available: 132.2 MB
                  Emails:     0 kB
                  Images:   684 kB
             Video clips:  9.04 MB
             Audio clips:  4.08 MB
                Web page:     0 kB
               Documents:  16.3 MB
                Contacts:    12 kB
  Installed applications:  31.4 MB
             Other files:     0 kB
Also, be aware of bug #1114 which currently renders the values reported by the Memory control applet as somewhat less than useful/reliable.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#3
I find it better to start an xterm, go fullscreen and type df -h
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 140 | Thanked: 10 times | Joined on May 2007 @ US
#4
Milhouse. Here are my other values

Code:
Storage memory in use     13.5MB
Storage memory available  30.3MB
E-mails                      2kB
Images	                   508kB
Video clips               9.04MB
Audio clips                  1kB
Web pages                    0kB
Documents                 1.82MB
Contacts                    12kB
Installed applications    40.9MB
Other files               2.17MB
TA-t3 - Here is the output from my df -h



One of my 2GB SD cards was corrupted by the N800 and I can only use half of it. I am worried that my internal memory is messed up too.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#5
Looks like something is definately consuming a chunk of memory... a reflash would sort it, otherwise you will need to investigate and find where it's gone. Try using "du -s `ls`" as root in / for starters and then try to narrow it down.
 
sachin007's Avatar
Posts: 2,041 | Thanked: 1,066 times | Joined on Mar 2006 @ Houston
#6
I noticed that when i used unrar and did not specify the destination directory ... the memory in the device reduces by an equal amount of data of the file i unrared. Did you use unrar in your n800??
 
Posts: 140 | Thanked: 10 times | Joined on May 2007 @ US
#7
I have never been root so I am not sure about "du -s `ls`"
- I am not a linux savvy person


and no - I have not use unrar that I know of

I'm not sure I want to reflash.. but might need to!
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#8
It's a bit tricky to use du and ls on the internal flash (although du might possibly work - I don't have a file to check on right now) vs. the size reported by df. This is because the internal flash is a compressing file system.

A problem that seems to have been fixed in the new firmware is that there used to be a file /var/run/wtmp that would appear to grow to an enormous size (IIRC even 'du' reported it as large), but if you reduced the size (by cat /dev/null > /var/run/wtmp - one must not try to remove files that are possibly open by a process, that won't remove the data, but this method will zero the size safely) then the 'df' size wouldn't go down by more than a few kilobytes. It's all because of the compressing filesystem.

This makes it difficult to figure out things by adding up individual file sizes and comparing to what 'df' reports.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#9
With du -s `ls` it should be possible to identify which directories are consuming the most space, then drill down into those directories until you find the file(s) consuming most of the space. I wasn't suggesting that "du -s" could be used to calculate the space usage, only to assist in finding where it's all gone!
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:21.