-
Notifications
You must be signed in to change notification settings - Fork 824
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
Resizing images causes memory leaks #1443
Comments
Thanks for reaching out. Could you please post your thumbor.conf and your version of thumbor you're using, to provide a minimum reproduceable build? |
@mvhirsch I updated my thumbor.conf in the description above. I'm using thumbor 7.0.10. Thanks for your support. |
This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 5 days. You can always re-open if you still feel this is still an issue. Tag @heynemann for more information. |
This issue was closed because it has been stale for 5 days with no activity. |
I'll open a PR to fix this. 🚀 |
This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 15 days. You can always re-open if you still feel this is still an issue. Tag @heynemann for more information. |
This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 15 days. You can always re-open if you still feel this is still an issue. Tag @heynemann for more information. |
This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 15 days. You can always re-open if you still feel this is still an issue. Tag @heynemann for more information. |
This issue was closed because it has been stale for 15 days with no activity. |
Thumbor request URL
http://localhost:8888/unsafe/30000x30000/https://raw.githubusercontent.com/thumbor/thumbor/master/example.jpg
Expected behaviour
Calling the request URL above multiple times shouldn't cause a memory leak
Actual behaviour
When I call the above request URL multiple times, my server's memory keeps increasing and results in an OOM error (Process finished with exit code 137, interrupted by signal 9: SIGKILL). I found a workaround to solve this problem is to add gc.collect() at the _cleanup() method, but doing this results in much higher CPU usage in return.
Operating system
Ubuntu 20.04.4 LTS
Your thumbor.conf
I'm using default thumbor.conf. I tried changing some configs like ENGINE_THREADPOOL_SIZE or GC_INTERVAL, but it doesn't solve the problem.
The text was updated successfully, but these errors were encountered: