Grep Causing High Memory Consumption When Ran Against Large Binary Files
(Doc ID 2213749.1)
Last updated on APRIL 15, 2021
Applies to:Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A 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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document