You can set the initial value directly in /etc/environment
, did you check that? It could also be set only for your user, so it might be in ~/.profile
, ~/.bashrc
or ~/.bash_profile` (or the rc file for your shell if you’re not using the default bash).
Edit: I suppose you could also have added a startup script in /etc/init/
or /etc/init.d/
, or in /etc/rc.local
Pretty sure the commenter above meant that the their RAM was advertised as X GiB but they only got X GB, substitute X with 4/8/16/your amount