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

back mem action #36

Open
Nikita-str opened this issue Dec 14, 2023 · 1 comment
Open

back mem action #36

Nikita-str opened this issue Dec 14, 2023 · 1 comment

Comments

@Nikita-str
Copy link
Owner

Nikita-str commented Dec 14, 2023

min is save / load
but we also can have MemStat and traits for unload / load and save
so if a thread is unused awhile (about 1h) and it use enough memory (by posted text (limit on each post ~16KB)) let's say about 300KB (it's +- enough idk) then we can unload it(posted text) and load when some one will read it

@Nikita-str
Copy link
Owner Author

Nikita-str commented Dec 14, 2023

16kb (max post RAM size) * 500 (posts) * 100 (thrs) * 20 (boards) = ~16gb
so... low prior

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

No branches or pull requests

1 participant