And the nice thing about those NAME="value" pairs is you can now source it directly in shells, or read it with some straight forward, usually built in library in many programming languages and supporting tools
It's not the size, it's the content of the values in the env files when they contain things outside of your control, like a password with a bang or a dollar sign.