3 ms·
I wish the kernel could handle argc==ARBITRARY_NUMBER It's crazy that with 64GB of internal memory, I'm still getting "argument list too long".
by amelius 5y ago
I wish the kernel could handle
argc==ARBITRARY_NUMBER
It's crazy that with 64GB of internal memory, I'm still getting "argument list too long".
- saagarjha 5y agoArguments go on the stack, which has a fixed size.
- josephcsible 5y agohttps://lore.kernel.org/lkml/20170707185729.GA70967@beast/T/#m1a27b742141be749be06f276730756642b90d635 https://lore.kernel.org/lkml/20170707185729.GA70967@beast/T/... (merged as commit da029c1) added a hard upper limit of 6MB for argv + envp combined, no matter how big the process's stack is.