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

Disposing unused buffers with warning message #13

Open
tugrul512bit opened this issue Apr 3, 2017 · 0 comments
Open

Disposing unused buffers with warning message #13

tugrul512bit opened this issue Apr 3, 2017 · 0 comments
Assignees

Comments

@tugrul512bit
Copy link
Owner

tugrul512bit commented Apr 3, 2017

api is creating a new buffer for each unique array given as parameter, with enough arrays, it could give out of resources.

  • LRU cache to hold max=N buffers(regardless of individual sizes) with total size constraint
    (default = RAM / 2 ? )
  • save data to disk when disposed, read from disk when re-created
@tugrul512bit tugrul512bit self-assigned this Apr 3, 2017
@tugrul512bit tugrul512bit changed the title Disposing unused buffers but keeping base arrays in case of re-usage Disposing unused buffers with warning message Apr 3, 2017
@tugrul512bit tugrul512bit added this to checking in Cekirdekler.dll Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant