This Sketch is working and shows Adafruit logo and pixel correctly.
But when I add this part of TinyGPS++ its not working and gives SSD1306 allocation failed in Serial monitor.
I used both parts using examples of libraries.
Why it shows this message when adding this TinyGPSCustom part into my sketch. I cant understand why its happening that way. So I'm hoping your comments for fixing this.
Thank You.
Using library Wire at version 1.0 in folder: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.4/libraries/Wire
Using library Adafruit SSD1306 at version 2.5.6 in folder: /mnt/create-efs/webide/0a/33/0a33bd1179c57bfa4a19d1bd3e6cef93:david_prentice/libraries_v2/Adafruit SSD1306
Using library adafruit_gfx_library_1_11_3 at version 1.11.3 in folder: /home/builder/opt/libraries/adafruit_gfx_library_1_11_3
Using library adafruit_busio_1_13_1 at version 1.13.1 in folder: /home/builder/opt/libraries/adafruit_busio_1_13_1
/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size -A /tmp/arduino-build-CDAC7738E6737818606BD9476880C85B/sketch_aug12b.ino.elf
Sketch uses 15424 bytes (50%) of program storage space. Maximum is 30720 bytes.
Global variables use 813 bytes (39%) of dynamic memory, leaving 1235 bytes for local variables. Maximum is 2048 bytes.
Which shows that you would only have 1235 - 1024 bytes of SRAM at runtime. i.e. 211 bytes left. Even if it "started" it would crash straight afterwards.
Buy a bigger Arduino e.g. Every, Zero, Due, Mega2560, ...