We need to look at reducing the memory consumption in the linker, key areas to look are - Use memory reports and see what objects can be reduced in size - Use std::unique_ptr for short lived memory - Use llvm::StringRef or std::string_view