Optimization heap ram

Hi everyone!
I am using kit AMB26(RTL8720DF) to develop a program using ble, wifi, mqtt, … I set my heap ram size is 260K in file FreeRTOSConfig.h. When i connect my device to wifi AP, run mqtt, run ble scan and run 6-7 task freeRTOS, my free heap size is only 24k. I checked and found wifi connect to AP use about 100k heap size. Can i optimization heap size used for wifi conection?
Thank you!

Yes, you can modify heap size at “FreeRTOSConfig.h”. But WiFi heapsize is not recommend modifying.