I tried but it does not work(I mean s the memory was not cleared)…
https://forum.mongoose-os.com/discussion/258/large-memory-consumption
They are saying to make a “Makfile”… but i dont undurstand very much about this.
Now i am checking free ram and keep it more than 26000 to perform the request. At least it wwill not crash the ESP