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]
Type=Application
Name=Compton (X Compositor)
GenericName=X compositor
Comment=A X compositor
TryExec=compton
Exec=compton --backend glx -b
OnlyShowIn=LXDE
  1. Reboot

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

sudo systemctl set-default multi-user.target

And then reboot.

1 Like