Skip to content

Memory allocation strategy of mbedTLS should be better to be set at "Default alloc Mode" #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
HAmamiya opened this issue Jan 19, 2025 · 0 comments
Open
3 tasks done

Comments

@HAmamiya
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Described the feature in detail and justified the reason for the request.
  • Provided specific use cases and examples.

Feature description

Memory allocation strategy of mbedTLS should be better to be set at "Default alloc Mode" (i.e. CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC =y) for future builds to public.

Use cases

Reference https://www.esp32.com/viewtopic.php?t=38369

I have a project which is too big for ESP32's internal ram and therefore PSRAM is installed and used. I noticed that after I played some audio files via ESP32-audioI2S, further requests to https websites by HTTPClient could fail instantly after being called (i.e. no indication the fault is at server's end, nor the ESP32 had actually started a handshake to server). I believe the fail was due to low in internal memory.

In gist, Memory allocation strategy of mbedTLS should be better to be set at "Default alloc Mode" (i.e. CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC =y).

Alternatives

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant