Memory usage for ubifs writes

David Kuehling dvdkhlng at
Sun Jun 19 13:51:53 EDT 2011

>>>>> "David" == David Kuehling <dvdkhlng at> writes:

> Hi,

> when trying to save a 17kB file in Emacs to my 1.5GB ubifs data
> partition, the OOM killer kills emacs, although at least 5MB of RAM
> should still be available.  This could be an emacs problem, but I
> somehow doubt it.

> Is ubifs somehow very memory hungry (does it need much memory to move
> eraseblocks around?)

Do we have a general memory usage problem?  (Note: i'm running a
openwrt-_trunk_ nightly build from a few weeks ago)

Typing 'free' it says:

             total       used       free     shared    buffers     cached
Mem:         28048      15392      12656          0          0       1220
-/+ buffers/cache:      14172      13876
Swap:            0          0          0

14 MB RAM in usage by default?  IIRC that's more than a minimal Debian
system uses!

Attached is the dmesg output corresponding to the emacs kill.

$ cat /etc/VERSION
$ uname -a
Linux BenNanoNote #1 PREEMPT Mon May 30 20:28:38 CEST 2011 mips GNU/Linux

any ideas?


GnuPG public key:
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg-emacs-killed.txt
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the discussion mailing list