Skip to content
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

[Memory] Allow use of PSRAM + free unused strings #5233

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

TD-er
Copy link
Member

@TD-er TD-er commented Jan 28, 2025

Apparently a previous fix to free up allocated buffers in String objects was broken again due to changes in the String class.

This caused the web log to keep its memory for the once largest logs allocated when no longer viewing the web log. (or never viewed the web log, but having its log level not set to 'None')

As a bonus, I also added the possibility to use PSRAM if available for temporary strings like those used in controller queue elements, cached rules and (web) log messages.

@TD-er TD-er merged commit 6a95d04 into letscontrolit:mega Jan 28, 2025
168 checks passed
@TD-er TD-er deleted the bugfix/memory_allocation_strings branch January 28, 2025 16:21
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

Successfully merging this pull request may close these issues.

1 participant