SSD1306 stuck in display() function

Hi guys,
I'm usign an Adafruit 0.96" i2c OLED Display (128 x 64 pixel) connected to my Arduino Nano but it seems that the code stuck calling display() function.
I perform clearDisplay() at first then several println() ans at the end I call the display().
Maybe I'm runnign out of the buffer memory?