Using SSD1306 with external RAM

MCUGuy: Do you know what part of the library I need to edit exactly. I am new to the C++ language and would like to do minimal library editing if possible.

In that case I think it's better for you to use the other library that olikraus mentioned. I listed the parts of the library that I could think of that would need to be changed. It would require programming skill and you'd also need to write the interface routines for the external RAM.