Tuesday, January 6, 2009

Free more memory

Your little slug has only 32mb of memory. I know that you want to run a lot of useful applications with your slug then why do not you remove some of the applications already installed in your slug and free more memory. Actually I can feel the difference in my slug after removing the mentioned applications. It takes much less to load my website right now...

First you can think of disabling and removing exim4. (mailserver AFAIK - free 7 mb ram)
/etc/init.d/exim4 stop;
update-rc.d -f exim4 remove
apt-get --purge remove exim4-daemon-light exim4-config exim4-base

Also if you do not use nfs service (drive sharing AFAIK) just disable and remove it.
/etc/init.d/nfs-common stop;
update-rc.d -f nfs-common remove
apt-get --purge remove nfs-common


  1. Hi, i read somewhere to use dropbear instead of openSSH. It frees up more memory. Dropbear is also standard installed with dd-wrt.

  2. You are right. It frees up more memory but I was also using a program on one of windows computer to mount the slug over ssh so I could watch the movies over wireless and dropbear was problematic at that point. So I decided to keep it like this.

    But maybe I also should include that guide for some potential interest.
    Thank you