-
Notifications
You must be signed in to change notification settings - Fork 416
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
Memory Leak & Garbage not working #3265
Comments
I don't see that it use so much space.
|
@sbrunner Does Mapfish-print store the data from previous print in case the same layers is called again ? |
No, we don't directly store some things between the run |
@LouisBoyaval I am working on the main/master branch. I noticed that indeed the threads are not deallocated immediately. They are managed by Threadpools (responsible to decide when the Threads are no longer required). Most likely it is the same in your version. |
Context
Describe the bug
Description: When starting Mapfish, it exhibits a memory leak behavior. Initially, it consumes around 150 MB of RAM, but over time, this usage gradually increases. For instance, after 5 minutes, it reaches 200 MB.
Production Scenario: In a production environment, we utilize Mapfish Print to generate PDFs. However, when a user triggers the PDF generation process, Mapfish Print successfully completes the task. Unfortunately, it fails to release all the allocated memory afterward. Also there is thousand of thread created for the generation but the aren't delete after.
How to reproduce
I can't give the configuration files.
Put the json spec (request sent by the browser) here.
Actual results
I cn't submit the log
Expected results
I expect mapfish to release all the ram after usage and to not use more and more ram overtime
The text was updated successfully, but these errors were encountered: