Setup java takes much too long
See original GitHub issueDescription: Currently I’m experiencing extreme slow build times because setup-java takes more than 10 minutes
Task version: v1
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
jobs:
build:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
Expected behavior: In the past the step only took a couple of seconds.
Actual behavior: The step takes more than 10 minutes. May be missing caching and slow download servers? Restarting doesn’t help.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Is Java really slow? - performance - Stack Overflow
Java had a reputation for being slow because it used to take a long time for the VM to start up. If you...
Read more >Java is extremely slow to start up - Super User
Try java -verbose , it will print each step that it goes through, maybe you'll notice which steps take a long time. I...
Read more >Top 10 Java Performance Problems and How to Solve Them
Configuring your JVM's memory to be too large can also be detrimental to ... Too much synchronization also takes a toll on performance....
Read more >Troubleshooting tips for running Java
Clear the Java cache (temporary) files ... Sometimes a corrupted file in the Java cache can prevent an application from running. You can...
Read more >why is Java startup so slow? - Oracle Communities
On my home machine, java is much faster around twice as fast to startup, but the processor and ram are not twice as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @maxim-lobanov This issue was not there yesterday for the same exact setup for me (v1) and has just started occurring out of the blue right now.
seems to be good again.