Yes, by the time you have allocated 1024 bytes for the runtime buffer it means 92% of dynamic memory.
Replace every display.print("anonymous string"); with display.print(F("anonymous string"));
Ditto for display.println("string");
This should give you a safety margin.
David.