|06-28-2010, 02:48 PM||#1|
Join Date: Dec 2008
Device: iRex DR1000S
Available memory on DR
To protect xournal from memory overflows I try to determine how much memory is free at the moment that a file is opened in xournal. I am using the output of the /proc/meminfo, but it is confusing me. I browsed some time on the internet, and I could only find what the individual field mean, but not how to determine the actual amount of free memory.
The output looks like this (on the emulator):
MemTotal: 126796 kB MemFree: 71936 kB Buffers: 1508 kB Cached: 29148 kB SwapCached: 0 kB Active: 33464 kB Inactive: 15316 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 528 kB Writeback: 0 kB AnonPages: 18152 kB Mapped: 11740 kB Slab: 3408 kB SReclaimable: 1452 kB SUnreclaim: 1956 kB PageTables: 680 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 63396 kB Committed_AS: 35876 kB VmallocTotal: 253952 kB VmallocUsed: 4596 kB VmallocChunk: 241660 kB
I think that I make a mistake, but where did I make it?
|06-28-2010, 05:48 PM||#2|
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S, K4NT. Now a Kobo Aura and a Aura One.
To recover some of the memory in caches and buffers look at the trick in http://www.timesys.com/blogs/joseph/freememory
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Transferring from Main Memory to Memory Card||Modern Bear||Sony Reader||3||12-13-2009 07:40 AM|
|Books on internal memory show as on Memory Stick||doreenjoy||Sony Reader||6||06-05-2009 03:08 AM|
|memory card to main memory copy||alexxxm||Sony Reader Dev Corner||1||09-01-2008 12:04 PM|
|Suddenly files won't copy to flash memory-plenty of memory||skoobwoman||iRex||3||08-15-2008 03:52 PM|
|Moving files from memory card to main memory||dhbailey||Sony Reader||2||03-12-2007 12:43 PM|