IRAM constrains in ESP32

I'm developing a BLE code in ESP32 using nimble stack, that itself consuming around 70% of the IRAM. I want to integrate few other peripherals like CAN, SPI.

How can I optimize or reduce the IRAM size with working functionality?
IRAM_size_ESP32.png
Was this page helpful?