MicroPython_ESP32_psRAM_LoBo icon indicating copy to clipboard operation
MicroPython_ESP32_psRAM_LoBo copied to clipboard

MicroPython heap 72 KB for non-psRAM prebuilt firmware

Open stroobandt opened this issue 6 years ago • 0 comments

This request is related to the following curl feature note:

If TLS is enabled, the module uses mbedTLS and more memory is required. If not using psRAM, you may need to lower the MicroPython heap (72 KB will usually be enough).

In this day and age of HTTPS, would it be possible to set the MicroPython heap to 72 KB for all non-psRAM prebuilt firmware; i.e. esp32, esp32_ota and esp32_all?

I am using esp32_all and have trouble pulling in a larger CSV file over HTTPS, whereas pulling it in over HTTP works. Sending small HTTPS requests also works.

PS: I am not asking for a reduction of the TLS maximum message content length. As I understand from issue https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/issues/117, this may cause a connection failure with certain servers.

stroobandt avatar May 25 '19 08:05 stroobandt