I have looked everywhere (both on and off StackExchange) for this but cannot get an answer:
I have a Raspberry Pi Zero W, which has 512MB of RAM total. I am running it headless, so I want to maximize available RAM. I have set gpu_mem=16 in the \boot\config.txt file and have rebooted the device.
When I run free -h I get the following output:
total used free shared buff/cache available Mem: 370M 20M 299M 2.6M 50M 300M
When I run vcgencmd get_mem arm && vcgencmd get_mem gpu I get:
arm=384M gpu=128M
This seems to be telling me that the GPU memory is still set to 128MB.
How can I properly free up this memory for general use by my applications?
Thanks ahead of time for any help you can give here.
Raspbianimage or theNOOBSimage on your miniSD card? Are there anyhdmi_configuration options in your/boot/config.txt? I believe the defaultgpu_memis 64M not 128M.hdmi_*options. To ensure that it isn't an issue of formatting or a CRLF in your/boot/config.txt, does the problem persist if you enact the change viasudo raspi-config?hdmi_entries in/boot/config.txtare commented out (this is a completely headless install). Thegpu_memsetting is16(the minimum).raspi-configjust to be sure, and everything is still coming up the same, so it's not a formatting issue.raspi-configand inconfig.txtfile ?