Hi all,
in a text based Rpi application it's useful to dedicate as much RAM as possible to ARM, lowering GPU RAM to the minimum.
Lot of people solved this in raspbian by configuring gpu_mem parameter in config.txt in the boot partition.
I added config.txt in the 64MB boot partition, with gpu_mem=16 without any change in total ARM memory.
Here is my config.txt
Code:
# GPU memory in megabytes. Sets the memory split between the CPU and GPU; the CPU gets the remaining memory. Minimum value is 16; maximum value is either 192, 448 or 944 depending on whether you're using a 256M, 512MB or 1024MB Pi. The default value is 64.
# Setting gpu_mem to low values may automatically disable certain firmware features (as there are some things the GPU simply can't do with too little memory). So if a certain feature you're trying to use isn't working, try setting a larger GPU memory split.
gpu_mem=16
RAM remains the same:
Code:
# free
total used free shared buffers cached
Mem: 762468 96340 666128 5416 10140 44308
-/+ buffers/cache: 41892 720576
Swap: 0 0 0
Any hint?
Thank you,
OS