Hi,
check logs below. any idea. Let me try libCurl example as well.
https://github.com/loboris/ESP32_curl_example
1- On my application starts:
on start ram usage
Stack free: 2696
Internal Heap free: 342492
Heap free: 269572:342492
on start free heap=269572
2- On my http get Task run
Stack free: 23100
Internal Heap free: 142948
V (10378) FreeRTOS: Semaphore taken: name: ServerStarted (0x3ffdff50), owner:
start
Heap free: 70028:142948
#### HTTP GET BIG FILE
D (10390) HttpServer: << start
D (10392) Task: >> runTask: taskName=HttpServerTask
D (10398) Task: << runTask: taskName=Task
V (10398) vfs_fat: vfs_fat_open: path="/alarm.json", flags=601, mode=1b6
D (10403) Socket: >> setSSL: No
V (10413) sdmmc_cmd: sending cmd slot=1 op=17 arg=12000 flags=1c50 data=0x3ffb
e14c blklen=512 datalen=512 timeout=1000
D (10416) Socket: >> listen: port: 80, isDatagram: 0
V (10427) sdspi_host: sdspi_host_start_command: slot=1, CMD17, arg=0x00012000
flags=0x5, data=0x3ffbe14c, data_size=512 crc=0x77
D (10432) Socket: >> createSocket: isDatagram: 0
D (10447) Socket: << createSocket: sockFd: 8196
V (10449) sdspi_transaction: r1 = 0x00 hw_cmd.r[0]=0x49002042
D (10453) Socket: >> setReuseAddress: 1
V (10458) sdmmc_cmd: cmd response 00000000 00000000 00000000 00000000 err=0x0
state=0
D (10465) Socket: << setReuseAddress
D (10472) Socket: >> bind: port=80, address=0x0
curl_easy_perform failed: Out of memory
D (10480) Socket: << bind
V (10483) sdmmc_cmd: sending cmd slot=1 op=24 arg=12000 flags=1c10 data=0x3ffb
e14c blklen=512 datalen=512 timeout=5000
D (10488) Socket: << listen
D (10496) HttpServerTask: Listening on port 80
V (10497) sdspi_host: sdspi_host_start_command: slot=1, CMD24, arg=0x00012000
flags=0x7, data=0x3ffbe14c, data_size=512 crc=0x6a
D (10504) HttpServerTask: Waiting for new peer client
D (10521) Socket: >> accept: Accepting on 0.0.0.0 [80]; sockFd: 8196, using SS
L: 0
V (10522) sdspi_transaction: r1 = 0x00 hw_cmd.r[0]=0xffffffff
V (10531) sdmmc_cmd: cmd response 00000000 00000000 00000000 00000000 err=0x0
state=0
ERROR: -7 [Out of memory]