[
https://issues.apache.org/jira/browse/CAMEL-21789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-21789.
---------------------------------
Fix Version/s: 4.10.1
4.11.0
Resolution: Fixed
Yeah its the google team that has a huge bom for their cloud stuff - we dont
use it anymore
> High Memory Usage During Gradle Dependency Resolution
> -----------------------------------------------------
>
> Key: CAMEL-21789
> URL: https://issues.apache.org/jira/browse/CAMEL-21789
> Project: Camel
> Issue Type: Task
> 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
> Fix For: 4.10.1, 4.11.0
>
> 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)