[
https://issues.apache.org/jira/browse/CAMEL-21789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arvydas Sk updated CAMEL-21789:
-------------------------------
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
was:
Gradle 8.8
------------------------------------------------------------
JVM: 21.0.6 (Ubuntu 21.0.6+7-Ubuntu-124.04.1)
OS: Linux 6.11.0-17-generic amd64
> 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: Major
> Attachments: test-project.zip
>
>
> We've observed that if a Gradle project includes the
> {{org.apache.camel.springboot:camel-spring-boot-starter}} dependency version
> {*}4.9.0 or later{*}, it requires *3GB of memory*
> ({{{}org.gradle.jvmargs=-Xmx3g{}}}) to successfully complete:
>
> {{./gradlew dependencies --refresh-dependencies}}
> However, when using an {*}older version{*}, such as {*}4.8.0{*}, the process
> runs smoothly with the default *512 MiB* 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)