-
Notifications
You must be signed in to change notification settings - Fork 319
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
Java Heap Space Error caused by an 'Out Of Memory' Error #2272
Comments
It looks like using the |
The ORT Analyzer uses the version of Gradle which has been configured to be used by the project being analyzed, via the Gradle wrapper. That is, in contrast to Maven, where you usually use the globally installed |
This post has some more memory setting hints for Gradle 5. |
Thanks, it looks like I'll have to edit the gradle.properties file to set the needed @sschuberth just for my understanding. The OSS Review Toolkit uses the Gradle environment settings of the scanned project and that is why I need to change the gradle.properties file of the project, if I want to solve the |
At the end of the analyzer-result.yml file I see:
I've this setting in my global .gradle/gradle.properties file:
I think I give enough memory to Gradle or do I need to set the setting above in some other gradle.properties file? If I understood it correctly then, it fails to resolve the dependencies for 'build.gradle' because of that
OutOfMemoryError
.I'm using:
------------------------------------------------------------ Gradle 6.2 ------------------------------------------------------------ Build time: 2020-02-17 08:32:01 UTC Revision: 61d3320259a1a0d31519bf208eb13741679a742f Kotlin: 1.3.61 Groovy: 2.5.8 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 12.0.2 ("Oracle Corporation" 12.0.2+13) OS: Linux 5.5.5-200.fc31.x86_64 amd64
The text was updated successfully, but these errors were encountered: