Hi,
The gpu_mem option in config.txt specifies how much memory, in megabytes, to reserve for the exclusive use of the GPU: the remaining memory is allocated to the ARM CPU for use by the OS.
https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md
You can take a test and observe for a period of time.