Grep Causing High Memory Consumption When Ran Against Large Binary Files
Last updated on DECEMBER 16, 2016
Applies to:Linux OS - Version Oracle Linux 6.0 and later
High memory consumption while running grep against large binary files like /var/log/lastlog on a Oracle Linux 6 server that resulted in the application/database becoming un-responsive. While in Oracle Linux 5 it will give message "grep: line too long" instead of consuming memory. But this is expected behavior of grep in OL6 and OL5 respectively.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms