I got a replacement machine (MacBook Pro macOS 10.12.4 2.8GHz Intel Core i7 16 GB RAM) to replace my old machine (identical hardware & software specs). When running builds of some of my projects I’ve noticed some severe performance issues. I’ve tested both Gradle 3.5 & 4.0 - Gradle version doesn’t seem to matter. Everything run on both machines under the same Java version - JDK Oracle 1.8.0_121.
Whats really strange is these issues only appear on my new machine when connected to my company’s VPN. When I disconnect from the VPN on the new machine everything is fine.
Also I don’t have these issues on my old machine when connected to my company’s vpn.
The VPN client on both machines is the same version of the same software. Both machines are on the same wifi network.
What takes about 20 seconds on my old machine or on the new one when disconnected from the VPN takes almost 2 minutes when connected to the VPN. In another multi-module project I have, what takes about 45 seconds on the old machine or on the new machine when disconnected from the VPN now takes almost 6 minutes when connected to the VPN.
What I’ve noticed is that the configuration phase of each project is taking lots of time - about 90 seconds more per project on average. When I turn on debug logging I see lots of pauses in what Gradle is doing for things like (this is just an excerpt from the log)
10:52:24.661 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.eclipse' (hidden = false)
10:52:24.662 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.cleanEclipse' (hidden = false)
10:52:24.678 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.eclipseProject' (hidden = false)
10:52:24.685 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.cleanEclipseProject' (hidden = false)
10:52:24.690 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.eclipseJdt' (hidden = false)
10:52:24.691 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.cleanEclipseJdt' (hidden = false)
10:52:24.696 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.eclipseClasspath' (hidden = false)
10:52:24.697 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.cleanEclipseClasspath' (hidden = false)
10:52:24.716 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.buildDashboard' (hidden = false)
>>> 10 second gap until start of next project operation
10:52:29.254 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6126084096}
10:52:29.254 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6126084096}
10:52:29.255 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 249036800}
10:52:32.653 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:52:32.657 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:52:32.657 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:52:32.657 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:52:32.658 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:52:32.658 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:52:32.658 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:52:34.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6124380160}
10:52:34.254 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6124380160}
10:52:34.254 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 249036800}
>>> Start of next project operation
10:52:34.868 [INFO] [org.gradle.api.Project] Applying the maven-publish plugin on project Entitlements RESTful service
10:52:34.868 [INFO] [org.gradle.api.Project] Applying the com.jfrog.artifactory plugin on project Entitlements RESTful service
10:52:34.898 [DEBUG] [org.jfrog.gradle.plugin.artifactory.ArtifactoryPluginBase] Configuring buildInfo task for project :: is root? true
10:52:34.915 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.artifactoryPublish' (hidden = false)
10:52:34.924 [DEBUG] [org.jfrog.gradle.plugin.artifactory.ArtifactoryPluginBase] Using Artifactory Plugin for :
10:52:34.946 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.publish' (hidden = false)
10:52:34.947 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'projectPublicationRegistry' (hidden = false)
10:52:34.947 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'publishing' (hidden = false)
10:52:34.948 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.publishToMavenLocal' (hidden = false)
10:52:34.952 [INFO] [org.gradle.api.Project] Configuring Artifactory for root project Entitlements RESTful service
10:52:34.984 [DEBUG] [org.gradle.api.Project] Artifactory plugin: configured
10:52:34.986 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.generateSources' (hidden = false)
10:52:34.995 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.gradleUpdate' (hidden = false)
10:52:35.073 [INFO] [org.gradle.api.Task] latestVersionQry = http://tlgsasc2tm0075.r1-core.r1.mycompany.net:8081/artifactory/api/search/latestVersion?g=com.mycompany.gradle&a=mycompany-gradle&repos=commercial-it-java-prod-local
10:52:35.182 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@4ef624205 pairs: {GET /artifactory/api/search/latestVersion?g=com.mycompany.gradle&a=mycompany-gradle&repos=commercial-it-java-prod-local HTTP/1.1: null}{User-Agent: Java/1.8.0_121}{Host: tlgsasc2tm0075.r1-core.r1.mycompany.net:8081}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
10:52:35.795 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@356095287 pairs: {null: HTTP/1.1 200 OK}{Server: Artifactory/5.1.3}{X-Artifactory-Id: fa79b1e4158b844ee77afc4ce9c831a77af166df}{X-Artifactory-Node-Id: tlgsasc2tm075}{Content-Type: text/plain}{Transfer-Encoding: chunked}{Date: Thu, 22 Jun 2017 14:52:35 GMT}
10:52:35.798 [INFO] [org.gradle.api.Task] Got latestVersion = 1.0.2.20
10:52:35.798 [INFO] [org.gradle.api.Task] currentDistributionUrl = http://tlgsasc2tm0075.r1-core.r1.mycompany.net:8081/artifactory/commercial-it-java-prod-local/com/mycompany/gradle/mycompany-gradle/1.0.2.20/mycompany-gradle-1.0.2.20-bin.zip
10:52:35.798 [INFO] [org.gradle.api.Task] newDistributionUrl= http://tlgsasc2tm0075.r1-core.r1.mycompany.net:8081/artifactory/commercial-it-java-prod-local/com/mycompany/gradle/mycompany-gradle/1.0.2.20/mycompany-gradle-1.0.2.20-bin.zip
10:52:35.808 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.sonarqube' (hidden = false)
10:52:35.812 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.printSonarProperties' (hidden = false)
10:52:35.815 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.createSonarPropertiesFile' (hidden = false)
10:52:35.827 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'jacocoAgent' in project 'entitlements-rs'
10:52:35.827 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'jacocoAnt' in project 'entitlements-rs'
10:52:35.833 [DEBUG] [org.gradle.testing.jacoco.plugins.JacocoPluginExtension_Decorated] Applying Jacoco to test
10:52:35.847 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.jacocoTestReport' (hidden = false)
10:52:35.855 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.jacocoTestCoverageVerification' (hidden = false)
10:52:35.864 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'optional' in project 'entitlements-rs'
10:52:35.961 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.javadocJar' (hidden = false)
>>> 10 second gap until start of next project operation
10:52:39.251 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 5954564096}
10:52:39.251 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 5954564096}
10:52:39.251 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:52:42.651 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:52:42.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:52:42.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:52:42.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:52:42.653 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:52:42.653 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:52:42.653 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:52:44.254 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 5956935680}
10:52:44.254 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 5956935680}
10:52:44.254 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
>>> Start of next project operation
10:52:45.981 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.sourcesJar' (hidden = false)
>>> 11 second gap until start of next project operation
10:52:49.250 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6023970816}
10:52:49.250 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6023970816}
10:52:49.251 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:52:52.655 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:52:52.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:52:52.656 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:52:52.656 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:52:52.657 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:52:52.657 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:52:52.657 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:52:54.250 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6024896512}
10:52:54.250 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6024896512}
10:52:54.250 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
>>> Start of next project operation
10:52:56.005 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.dbZip' (hidden = false)
10:52:56.009 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.generateCoverageReport' (hidden = false)
10:52:56.009 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.unitTest' (hidden = false)
10:52:56.010 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.allTests' (hidden = false)
10:52:56.036 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestCompile' in project 'entitlements-rs'
10:52:56.036 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestImplementation' in project 'entitlements-rs'
10:52:56.037 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestRuntime' in project 'entitlements-rs'
10:52:56.037 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestCompileOnly' in project 'entitlements-rs'
10:52:56.037 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestCompileClasspath' in project 'entitlements-rs'
10:52:56.037 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestRuntimeOnly' in project 'entitlements-rs'
10:52:56.037 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'integTestRuntimeClasspath' in project 'entitlements-rs'
10:52:56.038 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.processIntegTestResources' (hidden = false)
10:52:56.038 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.compileIntegTestJava' (hidden = false)
10:52:56.038 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.integTestClasses' (hidden = false)
10:52:56.046 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.integTest' (hidden = false)
10:52:56.046 [DEBUG] [org.gradle.testing.jacoco.plugins.JacocoPluginExtension_Decorated] Applying Jacoco to integTest
10:52:56.052 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.generateIntegrationCoverageReport' (hidden = false)
10:52:56.058 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'xjc' in project 'entitlements-rs'
10:52:56.066 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.xjcGeneration' (hidden = false)
10:52:56.070 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientCompile' in project 'entitlements-rs'
10:52:56.070 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientImplementation' in project 'entitlements-rs'
10:52:56.070 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientRuntime' in project 'entitlements-rs'
10:52:56.071 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientCompileOnly' in project 'entitlements-rs'
10:52:56.071 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientCompileClasspath' in project 'entitlements-rs'
10:52:56.071 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientRuntimeOnly' in project 'entitlements-rs'
10:52:56.071 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'javaClientRuntimeClasspath' in project 'entitlements-rs'
10:52:56.072 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.processJavaClientResources' (hidden = false)
10:52:56.072 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.compileJavaClientJava' (hidden = false)
10:52:56.072 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.javaClientClasses' (hidden = false)
10:52:56.077 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.javaClientJar' (hidden = false)
>>> 10 second gap until next project operation
10:52:59.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6013513728}
10:52:59.253 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6013513728}
10:52:59.255 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:53:02.650 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:53:02.650 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:02.651 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:02.651 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:02.651 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:02.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:02.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:04.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6012215296}
10:53:04.253 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6012215296}
10:53:04.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
>>> Next project operation
10:53:06.095 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.javaClientJavadocs' (hidden = false)
10:53:06.099 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.javaClientJavadocJar' (hidden = false)
>>> 10 second gap until next project operation
10:53:09.249 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6015168512}
10:53:09.250 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6015168512}
10:53:09.250 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:53:12.653 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:53:12.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:12.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:12.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:12.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:12.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:12.656 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:14.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6014402560}
10:53:14.253 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6014402560}
10:53:14.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
>>> Next project operation
10:53:16.117 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.javaClientSourcesJar' (hidden = false)
>>> 10 second gap until next project operation
10:53:19.252 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6012665856}
10:53:19.253 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6012665856}
10:53:19.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:53:22.654 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:53:22.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:22.654 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:22.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:22.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:22.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:22.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:24.249 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6012907520}
10:53:24.249 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6012907520}
10:53:24.249 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
>>> Next project operation
10:53:26.140 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Transitioning model element 'tasks.build' from state Registered to Initialized
10:53:26.140 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Running model element 'tasks.build' rule action tasks.addPlaceholderAction(build)
10:53:26.140 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Mutating tasks.build using tasks.addPlaceholderAction(build)
10:53:26.140 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Transitioning model element 'tasks.build' to state Discovered.
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Running model element 'tasks.build' rule action tasks.addPlaceholderAction(build)
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Mutating tasks.build using tasks.addPlaceholderAction(build)
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Transitioning model element 'tasks.build' to state Created.
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Transitioning model element 'tasks.build' to state DefaultsApplied.
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Running model element 'tasks.build' rule action copyToTaskContainer
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Mutating tasks.build using copyToTaskContainer
10:53:26.141 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Transitioning model element 'tasks.build' to state Initialized.
10:53:26.155 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project : - Registering model element 'tasks.war' (hidden = false)
>>> 20 second gap until next project operation
10:53:29.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6012907520}
10:53:29.253 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6012907520}
10:53:29.253 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:53:32.648 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:53:32.649 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:32.649 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:32.649 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:32.650 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:32.650 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:32.650 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:34.252 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6013214720}
10:53:34.252 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6013214720}
10:53:34.252 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:53:39.247 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6013480960}
10:53:39.248 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6013480960}
10:53:39.248 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
10:53:42.651 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
10:53:42.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:42.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:42.652 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:42.653 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
10:53:42.653 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
10:53:42.653 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:53:44.249 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 6013747200}
10:53:44.249 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 6013747200}
10:53:44.249 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 954728448, Committed: 337117184}
>>> Next project operation
10:53:46.194 [INFO] [io.spring.gradle.dependencymanagement.internal.DependencyManagementApplier] Applying dependency management to configuration 'providedCompile' in project 'entitlements-rs'
These pauses last 10-20 seconds and appear over & over again throughout the configuration of projects. I have complete log files as well that I can send or upload (I don’t see a way to upload files here on this forum). When I gather similar logs on my old machine or on the new one while not connected to the VPN, I do not see the gaps where it is doing the memory management stuff.
Any help would be greatly appreciated!