maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   losing my memory? (https://talk.maemo.org/showthread.php?t=7883)

Alvin 2007-07-19 02:33

losing my memory?
 
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

http://img102.imageshack.us/img102/6783/memoryvg7.jpg

Milhouse 2007-07-19 04:27

Re: losing my memory?
 
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.

TA-t3 2007-07-19 11:38

Re: losing my memory?
 
I find it better to start an xterm, go fullscreen and type df -h

Alvin 2007-07-19 13:42

Re: losing my memory?
 
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

http://img178.imageshack.us/img178/9041/dfhqx4.jpg

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.

Milhouse 2007-07-19 14:24

Re: losing my memory?
 
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 2007-07-19 14:43

Re: losing my memory?
 
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??

Alvin 2007-07-19 17:30

Re: losing my memory?
 
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!

TA-t3 2007-07-20 11:18

Re: losing my memory?
 
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.

Milhouse 2007-07-20 13:05

Re: losing my memory?
 
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! :)


All times are GMT. The time now is 23:13.

vBulletin® Version 3.8.8