Skip to content

fix: reduce concurrent PWA icons generation tasks#21250

Merged
caalador merged 1 commit into
mainfrom
issues/20842-gradle_pwa_icons_oom
Apr 9, 2025
Merged

fix: reduce concurrent PWA icons generation tasks#21250
caalador merged 1 commit into
mainfrom
issues/20842-gradle_pwa_icons_oom

Conversation

@mcollovati

Copy link
Copy Markdown
Collaborator

Submitting multiple asynchronous jobs to generate PWA icons at build time can cause OutOfMemory errors with Gradle.
This change introduces a fixed thread pool executor so that fewer icon generations are processed concurrently, allowing the JVM to clean up memory for already generated images.

Fixes #20842

Submitting multiple asynchronous jobs to generate PWA icons at build time
can cause OutOfMemory errors with Gradle.
This change introduces a fixed thread pool executor so that fewer icon
generations are processed concurrently, allowing the JVM to clean up
memory for already generated images.

Fixes #20842
@sonarqubecloud

sonarqubecloud Bot commented Apr 9, 2025

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

Test Results

1 182 files  +152  1 182 suites  +152   1h 14m 16s ⏱️ + 12m 37s
8 115 tests +314  8 058 ✅ +296  57 💤 +18  0 ❌ ±0 
8 456 runs  +315  8 391 ✅ +298  65 💤 +17  0 ❌ ±0 

Results for commit 0df005b. ± Comparison against base commit f1e7d30.

♻️ This comment has been updated with latest results.

@caalador
caalador merged commit aac2296 into main Apr 9, 2025
@caalador
caalador deleted the issues/20842-gradle_pwa_icons_oom branch April 9, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

24.6.x gradle build : PWA icons generation failed

3 participants