-
Notifications
You must be signed in to change notification settings - Fork 206
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
[refactoring] investigate memory usage when converting projects #877
Comments
@martinlippert seems like this is resolved for now with a919463 ? |
Agree, part of this is already solved via the commit that you mentioned, but I would like to continue to investigate this a bit further. It still seems like running the reconciling based on OpenRewrite causes quite some amount of heap and CPU usage, even for small workspaces with small projects, so something we need to investigate further. I am moving this to 4.17.1 for additional work. |
I ran some analysis on this, not in every depth, but still some early insights here. I captured a memory dump of the language server process after forcing a GC and after opening a larger workspace in the workspace.
|
Likely |
Latest tests show that the overall memory consumption is still an issue that we need to investigate further, but it has improved quite a bit since I filed this issue, so we should mark this one here as fixed for now. Additional memory optimizations will be worked on in separate, new and probably more specific issues. |
I've seen a couple of "out of memory" issues showing up on the language server log output when running project conversions via open-rewrite, but haven't investigated the details yet.
We should take a look to see what is going on and I will try to find out which project(s) trigger this behavior.
The text was updated successfully, but these errors were encountered: