-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
GC overhead limit exceeded #85
Comments
Hi, do you mean this change? Could you share mcve to reproduce your problem? |
Sorry for my late reply. Enclosed I send you the log file with debug output. |
Thanks for your share! I also found nothing from this Gradle log 😭
|
Hy, I have the latest version in use and started the task with --scan. The memory in the gradlew.bat I have increased to 1024MB https://scans.gradle.com/s/vciemyka5mvk6 Maybe it helps us to continue to find the error :-(
|
You're changing the memory for the Gradle daemon, which won't do anything, because Spotbugs is run in a different VM. Change the memory settings of Spotbugs intead using |
Running spotbugs in a separate JVM is a really bad idea from the system resource point of view. It's fine for single threaded builds on a large system, but no good for parallel builds, where we end up spawning a LARGE NUMBER of worker JVMs, and the system runs out of memory at OS level, and the entire build dies. Please can we make spotbugs in instance-safe, in-process, using the resources allocated to the primary Gradle JVM, so that we can have sane resource allocation and reliable builds. |
@dovogt please reopen if this is still an issue |
Gradle 5.0 changed the memory settings. The following error occurs during execution:
Execution failed for task ':spotbugsMain'.
I use it together with the ru.vyarus: gradle-quality-plugin
The text was updated successfully, but these errors were encountered: