I have created a java program that accepts user input (String). The problem is that the terminal is not allowing me to provide an input of size greater that 4096 characters. The problems causing this might be:
- POSIX smallest allowable upper limit on argument length(all systems): 4096
Check using the command:
xargs --show-limits
- Pipe buffer size: 4096
Check using the command:
ulimit -a
orulimit -p
Can anyone suggest how can I increase these values? Or how can I increase the number of characters allowed as user input.
I want to accept around 1 mb of data as argument.