top | item 44710409

(no title)

Eavolution | 7 months ago

There is already a hard limit, the amount of memory before the OOM killer is triggered.

discuss

order

9dev|7 months ago

So why can't the limit for shell args be the amount of memory before the OOM killer is triggered as well?

jart|7 months ago

It can. Just set RLIMIT_STACK to something huge. Distros set it at 8mb by default. Take it up with them if you want the default to change for everyone.