[ https://issues.apache.org/jira/browse/CAMEL-21789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-21789: -------------------------------- Priority: Minor (was: Major) > High Memory Usage During Gradle Dependency Resolution > ----------------------------------------------------- > > Key: CAMEL-21789 > URL: https://issues.apache.org/jira/browse/CAMEL-21789 > Project: Camel > Issue Type: Bug > Components: camel-spring-boot-starters > Affects Versions: 4.9.0 > Environment: Gradle: 8.8 > JVM: 21.0.6 (Ubuntu 21.0.6+7-Ubuntu-124.04.1) > OS: Linux 6.11.0-17-generic amd64 > > Reporter: Arvydas Sk > Priority: Minor > Attachments: test-project.zip > > > We've observed that when a Gradle project includes the > {{org.apache.camel.springboot:camel-spring-boot-starter}} dependency (version > {*}4.9.0 or later{*}) and {*}Gradle's dependency cache is empty{*}, the > classpath resolution fails unless at least *3GB of memory* > ({{{}org.gradle.jvmargs=-Xmx3g{}}}) is allocated. > It can be reproduced with command: > > {{./gradlew dependencies --refresh-dependencies}} > However, when using an {*}older version{*}, such as {*}4.8.0{*}, the process > runs smoothly with the default *512 MB* *memory* allocation. > This could be related to > {code:java} > <dependency> > <groupId>com.google.cloud</groupId> > <artifactId>libraries-bom</artifactId> > <version>${google-cloud-bom-version}</version> > <type>pom</type> > <scope>import</scope> > </dependency>{code} > > section added on > [https://repo1.maven.org/maven2/org/apache/camel/camel-parent/4.9.0/camel-parent-4.9.0.pom] > > Also attached test project. -- This message was sent by Atlassian Jira (v8.20.10#820010)