Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHello, I guess it wasn't the buffers that consumed all my memory after all. When I use the command:
cat meminfo I get the following result: # cat meminfo
MemTotal: 1220 kB
MemFree: 380 kB
Buffers: 148 kB
Cached: 56 kB
SwapCached: 0 kB
Active: 136 kB
Inactive: 60 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1220 kB
LowFree: 380 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
Mapped: 0 kB
Slab: 512 kB
Committed_AS: 0 kB
PageTables: 0 kB
VmallocTotal: 4194303 kB
VmallocUsed: 0 kB
VmallocChunk: 4194303 kB It seems that it is the Slab allocator that eats most of my memory, but how can I minimize its consumption? And what exactly DOES this Slab-allocator actually do? Hope anybody can help me. By the way I removed the RAM-drive in the kernel-setup - so now i write: <div class='quotetop'>QUOTE </div> --- Quote Start --- mount -t ramfs ramfs /var -n[/b] --- Quote End --- instead of: <div class='quotetop'>QUOTE </div> --- Quote Start --- mount -t ext2 /dev/ram0 /var -n[/b] --- Quote End --- Regards Goon