Replies: 2 comments 5 replies
-
@AnthonyGrondin @ivmarkov Did you happen to see this question and know to answer? |
Beta Was this translation helpful? Give feedback.
0 replies
-
According to this https://esp32.com/viewtopic.php?t=10612 mbedtls itself will neeed around 23k per session. #75 might reduce memory consumption per session to get closer to that |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm developing an application that connects over TLS to some server.
My normal code use PSRAM everywhere using alloc, so whatever alloc used is for esp-wifi and esp-mbedtls (which uses the esp-wifi alloc) is the only allocations going to the internal RAM.
I noticed that for each TLS session I open about 30KB are used (+/-). Is that expected? Any way to use less? I need to open two more connections, maybe more at the same time and I don't have where to get memory from.
I'm still on esp-hal 0.23.1.
With all changes I saw recently taking place (which I guess need the newer esp-wifi and esp-hal), is esp-mbedtls maybe now can use the PSRAM for it's allocations?
Beta Was this translation helpful? Give feedback.
All reactions