Need help to run c++ code on ESP32-DEVKITC-VE - ESP32-WROVER board -- 3

Job ID: 30679853

Budget: ₹1,500 – ₹12,500 INR

I have devkit - https://www.evelta.com/esp32-devkitc-ve-esp32-wrover-e-8mb-flash-8mb-psram-development-board-pcb-antenna/?gclid=Cj0KCQjwmIuDBhDXARIsAFITC_6GQVxTa_VQJTa_rlnnQfwIDLDI525Z8TjFs12Xfg3PpuPjD5_dwcsaAlbkEALw_wcB

I have one program which reads csv file and perform some processing on this csv data. Code runs fine and gives expected results.

But when Code size increases, it gives error in compilation.

/Users/kk/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /Users/kk/Documents/venturit/projects/ESP-32/afibmodel_2000/build/../main/main.cpp:29091:(.text.predict_multiclass+0x4c0cd): dangerous relocation: l32r: literal target out of range (try using text-section-literals): (.literal.predict_multiclass+0x3180)
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Need someone experienced to assist me with this.