The ncargs parameter specifies the maximum size of arguments in bytes that may be passed during an exec(2) system call.
This parameter is specified in /var/sysgen/mtune.
Value
Default: 20480
Range: 5120-262144
When to Change
The default value is adequate for most systems. Increase this parameter if you get the following message from exec(2), shell(1), or make(1):
E2BIG arg list too long
Notes
Setting this parameter too large wastes memory (although this memory is pageable) and may cause some programs to function incorrectly. Also note that some shells may have independent limits smaller than ncargs.