Customized prepared nvidia sd card image, with minimum occupied RAM

I have installed prepared nVidia sd card image. this image takes about 1GB of 4GB RAM. Is it possible to customize this OS to occupy less RAM?

You can save several hundred MB by switching to LXDE desktop, which is what the Nano 2GB uses by default. This is the procedure to install it:

  1. sudo apt-get install lxde compton
  2. Create /etc/xdg/autostart/lxde-compton.desktop with following lines :
[Desktop Entry]
Name=Compton (X Compositor)
GenericName=X compositor
Comment=A X compositor
Exec=compton --backend glx -b
  1. Reboot

Or if you are running headlessly and not using desktop at all, disable it with:

sudo systemctl set-default

And then reboot.

1 Like