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

what happens if oom? #63

Open
hiqsociety opened this issue Jul 15, 2022 · 1 comment
Open

what happens if oom? #63

hiqsociety opened this issue Jul 15, 2022 · 1 comment

Comments

@hiqsociety
Copy link

what happens if oom? is that possible?

how do u specify memory size so that it doesnt oom?

@proullon
Copy link
Owner

it is definitly possible to oom :D

With this issue and the next one, I'm guessing you want to use ramsql as a local cache ?

I guess it could be interresting if:

  • table ram usage estimation is implemented
  • a flag is added in the DSN to specify max ram usage
  • index are implemented and used
  • a flag is added to specify behavior when RAM limit is reached, either write error or LFRU system yes

That would be nice actually. The first thing would be to setup a benchmark. Can you describe a bit the topology of your data so we have a good test case ?

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

2 participants