Skip to content

Increase PSRAM malloc threshold from 256 bytes to 2048 bytes#9758

Merged
thebentern merged 3 commits intomasterfrom
psram-alloc
Feb 28, 2026
Merged

Increase PSRAM malloc threshold from 256 bytes to 2048 bytes#9758
thebentern merged 3 commits intomasterfrom
psram-alloc

Conversation

@thebentern
Copy link
Contributor

See #7121 (comment) for context

@thebentern thebentern added the bugfix Pull request that fixes bugs label Feb 26, 2026
@github-actions github-actions bot added the needs-review Needs human review label Feb 26, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR increases the PSRAM (Pseudo-Static RAM) allocation threshold on ESP32 boards from 256 bytes to 2048 bytes, optimizing memory allocation strategy for larger allocations.

Changes:

  • Modified the PSRAM malloc threshold from 256 to 2048 bytes for ESP32 boards with PSRAM (excluding SENSECAP_INDICATOR)

@thebentern thebentern merged commit 6920a5f into master Feb 28, 2026
24 of 70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants