Skip to content

Extensive memory usage #105

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

Open
kosecki123 opened this issue Nov 22, 2024 · 0 comments
Open

Extensive memory usage #105

kosecki123 opened this issue Nov 22, 2024 · 0 comments

Comments

@kosecki123
Copy link

For some reason when we deploy the our API with mergepythonclient==1.1.3 added the memory on Heroku is hitting the limit just after start. There is no actions / code being execute, besides

from merge import Merge

Our heroku stack is using web worker as follows:

gunicorn app.main:app --worker-class uvicorn.workers.UvicornWorker

app is fastapi based API project.

Heroku logs:

Nov 22 07:12:38 [cai-api-dev](https://my.papertrailapp.com/systems/cai-api-dev/events?focus=1796634881075142656&selected=1796634881075142656) [heroku/web.1](https://my.papertrailapp.com/events?q=program%3Aheroku%2Fweb.1&focus=1796634881075142656&selected=1796634881075142656) Process running mem=1060M(103.6%)
Nov 22 07:12:38 [cai-api-dev](https://my.papertrailapp.com/systems/cai-api-dev/events?focus=1796634881075142657&selected=1796634881075142657) [heroku/web.1](https://my.papertrailapp.com/events?q=program%3Aheroku%2Fweb.1&focus=1796634881075142657&selected=1796634881075142657) Error R14 (Memory quota exceeded)

Note that we using 1GB web worker, our app was fine on 512MB before, still looks like 1GB is to small.

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

1 participant