Closed Villemoes closed 7 years ago
runstrip opens, parses and closes the system's "magic" database for every file it processes, which is somewhat wasteful.
Each do_chrpath leaks the open database handle, which amounts to 700MB+ of extra VM during oe bake world.
Since we only ever use the default database with default flags, just open and parse the database once.
runstrip opens, parses and closes the system's "magic" database for every file it processes, which is somewhat wasteful.
Each do_chrpath leaks the open database handle, which amounts to 700MB+ of extra VM during oe bake world.
Since we only ever use the default database with default flags, just open and parse the database once.