In postgresql.conf, it says:
#max_slot_wal_keep_size = -1 # measured in bytes; -1 disables
I don't know if that is describing the dimension of this parameter or the units of it, but the default units for it are megabytes, not individual bytes, so I think it is pretty confusing.
Cheers,
Jeff