3 ms·
I also sort of wonder what happens if you try and put > 4gb on the commandline. Surely there is a limit for max size of commandline arguments.
by bawolff 5y ago
I also sort of wonder what happens if you try and put > 4gb on the commandline. Surely there is a limit for max size of commandline arguments.
- spacemanmatt 5y agoFrom vague experience, the CLI limits you to a few kilobytes.
- tyingq 5y agoFor Linux, it's ARG_MAX, so $ getconf ARG_MAX 2097152 It's driven by some formula related to max stack size (ulimit -Ss), but capped at 6 MiB. https://mina86.com/2021/the-real-arg-max-part-1/ https://mina86.com/2021/the-real-arg-max-part-1/