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

DB size limit for publishing with Heroku #1197

Closed
mtdukes opened this issue Jan 21, 2021 · 1 comment
Closed

DB size limit for publishing with Heroku #1197

mtdukes opened this issue Jan 21, 2021 · 1 comment
Labels

Comments

@mtdukes
Copy link

mtdukes commented Jan 21, 2021

Hello,
I tried searching for this, but can't seem to get a great answer: Does anybody know the size limit for databases deploying to Heroku? The files I'm working with are pretty large, but I might be able to pare them down if I have a limit in mind.

I'm getting the following error when running datasette heroku publish:

RangeError [ERR_INVALID_OPT_VALUE]: The value "14504095744" is invalid for option "size"

@simonw
Copy link
Owner

simonw commented Jan 24, 2021

https://devcenter.heroku.com/articles/slug-compiler#slug-size says that the maximum allowed size is 500MB - my hunch is that the Datasette application itself weighs in at only a dozen or so MB but I haven't measured it. So I would imagine anything up to around 450MB should work OK on Heroku.

Cloud Run works for up to about 2GB in my experience.

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

No branches or pull requests

2 participants