RT3050 chip only supports 32 MB of RAM. This is a hardware limitation of its memory controller. If you install a larger RAM chip it can only ever use part of the chip. So this model cannot be upgraded.
Wherever you got those instructions from, nvram has not been part of OpenWrt since version 8 which was 15 years ago.