You need a better tool. Get yourself a license for V The File Viewer. This is an oldie-but-goody designed to open files like what you're encountering. But it is a VIEWER. Editors try to load the entire edited file into RAM, and that's your problem right now. V loads "pages" of data instead of the whole file.