-
Notifications
You must be signed in to change notification settings - Fork 205
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
The daemon is probably leaking memory #18
Comments
Could you try to configure the daemon with the required options so that it generates a memory dump when hitting the OOM error and attach the generated file here ? This would definitely help diagnosing the issue. Currently, there's no easy way to pass options to the daemon, so the best would be to change locally the
|
This is not that bad as it used to be. After quarkusio/quarkus#12838, I can build Camel Quarkus several times in a row and the UI is still running smoothly and the OOM does not occur. A small increase between the runs still happens though. |
Should the daemon not automatically exit after, say, an hour of inactivity? |
(If you could please create a new issue for unrelated questions next time...) We have quite a complex expiration strategy in place https://github.com/mvndaemon/mvnd/blob/master/daemon/src/main/java/org/jboss/fuse/mvnd/daemon/DaemonExpiration.java#L51-L58 (It comes from Gradle). What you ask about is there as |
@jglick fwiw, I'm implementing the JVM memory checks. |
I'm closing this issue, as we have expiration checks in place and I don't think there is any memory leaks at this point. |
I am observing +25 MB Heap on each Camel Quarkus build. That's not much and that does not necessarily have to be mvndaemon's fault. Plugins can also leak memory as seen in case the Quarkus plugin quarkusio/quarkus#12838 . I am fine with closing this one. We can open a new one if we gather enough new relevant evidence. |
Isn't this place GC'ed at some point ? |
The +25 MB are there after running full GC manually. |
Steps to reproduce:
mvnd clean install -DskipTests
Workaround: kill the daemon when it gets slow.
The text was updated successfully, but these errors were encountered: