-
Notifications
You must be signed in to change notification settings - Fork 213
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
Daemon crashing when building big project. #291
Comments
It looks like the daemon was busy doing something between the last KeepAlive message the client sees at The pause may have been caused by GC, by an exhaustion of CPU resources, etc. You may want to attach jcosole to the daemon JVM to see whether GC is the cause. If so, you may increase mvnd.maxLostKeepAlive in your |
I also had this at least two times while buidling Quarkus (WSL2, Ubuntu 20), the last one just a few minutes ago. |
@galegofer does tweaking |
So far it seems to be working after I upgraded to 0.3.0, even without mvnd.maxLostKeepAlive and/or mvnd.maxHeapSize. |
Nice to hear that, let's close this and feel free to re-open if needed. |
Just happend to me with current
Unfortunatly, I have no clue how to connect via |
Just start |
WSL2 is headless. So I think I'll have to enable JMX and forward the ports somehow... |
Fwiw, I just tried |
Sorry to bump something so old but have we considered making the It was a bit frustrating to discover that the daemon is crashing because it is low on memory especially since the observable failure is the lost keepalives instead of an OOM. |
This is a possibility, could you open a new issue for that ? |
I am currently trying to build a monolith with around 15 modules. With vanilla, Maven takes around 20 minutes. When I tried to build it with mvnd I am getting that somehow the daemon crashed:
But I guess the problem is indeed when trying to ping the daemon to see if alive, because, after it crashed with the error showed above, I can see the java process is still alive (maven building)
Checking C:\Users\fy95bn.m2\mvnd\registry\0.2.0\daemon-f3678b8f-7dea-4fff-95c6-8e7915255fda.out.log:
I can see the next:
The text was updated successfully, but these errors were encountered: