-
Notifications
You must be signed in to change notification settings - Fork 759
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
Post Setup JDK 17 takes very long time on local runner #683
Comments
Hello @MartynasObdeleven, Thank you for creating this issue and we will look into it :) |
v3 is also very slow with JDK 17. Is the cache size Ok? |
I removed |
I had setup java on local machine so it runs fine with:
|
Hello @MartynasObdeleven, 1.It looks like the cache size in your workflow is around 6GB (~6353 MB). This could be the reason why the "Post Setup JDK 17" step is taking more than 10 minutes to complete, especially since you're using an M1 Mac Studio, which should be quite fast. 2.To verify if the cache is causing the delay, I recommend running the same workflow without caching. You can do this by removing the cache configuration from the actions/setup-java step. This will help determine if the cache is indeed the factor slowing down the process. If the steps complete more quickly without the cache, you may need to optimize the caching strategy. If the issue persists, kindly provide us with more detailed logs or a public repository to facilitate further investigation. |
Hello @MartynasObdeleven, @mahalakshmi-rekadi @choppeh, I've also encountered this issue with the "Post Setup JDK 17" step taking a long time due to the large cache size (~6GB). After removing the I'll try optimizing the cache, but removing it completely for now seems to be the best workaround.
`
|
Hello @MartynasObdeleven, We are awaiting for your response on the issue. Please let us know if we can close this issue if there are no further queries. |
Hello @MartynasObdeleven, |
Description:
I have a build script that is run on each PR. It launches appium test suite, which takes approximately 4 minutes to complete,
but after that Post Setup JDK 17 takes more than 10 minutes which is strange, since we're using m1 mac studio.
Job looks like:
Here's timeline:
Task version:
4.3.0
Platform:
Runner type:
Expected behavior:
Post Setup takes no more than minute.
Actual behavior:
Post Setup takes 10+ minutes.
The text was updated successfully, but these errors were encountered: