Skip to content
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

snyk-monitor fails with OOM error #22

Closed
vnickolov opened this issue Jan 6, 2023 · 5 comments
Closed

snyk-monitor fails with OOM error #22

vnickolov opened this issue Jan 6, 2023 · 5 comments

Comments

@vnickolov
Copy link

vnickolov commented Jan 6, 2023

Using the Snyk Gradle Plugin version 0.4 after updating to Gradle 7.6 and running ./gradlew snyk-monitor I am getting an OOM error

  • What went wrong:
    Execution failed for task ':snykResolvedDepsJson'.
    Java heap space

the snyk-cli version is v1.1081.0 of snyk-linux

The same build doesn't raise this error when using Gradle 7.5.1.

Is there a quick way to fix this?

@nuhkoca
Copy link

nuhkoca commented Feb 27, 2023

@vnickolov Gradle 7.6 is apparently using more memory than 7.5 and this was already reported. As it seems, this should be fixed in the version 7.6.1. See he related issue here: gradle/gradle#23215

@vnickolov
Copy link
Author

Thank you @nuhkoca I will give this a try and will close this issue if the problem is resolved.

@vnickolov
Copy link
Author

I am experiencing this now: gocd/gocd#11334
I guess the issue here can be closed and I can monitor the Gradle repository instead.

@nuhkoca
Copy link

nuhkoca commented Feb 27, 2023

Ohh that's too bad to hear 😢 @vnickolov

@vnickolov
Copy link
Author

Thank you 🙇 I am closing this issue here and will carry on checking the Gradle repository issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants