I am tryting to cat and grep a huge 40 GB file. After some output, my process get killed.
Any idea what can be the issue? Using OSX
 37392 broken pipe cat output.txt | 37393 killed grep --color=auto -C 20 201804090004054066628236
I can confirm its because of
grep memory usage. Its memory usage shoots up to almost in GB's