eclipse-theia / theia-ide

The Eclipse IDE is a modern and open IDE for cloud and desktop. The Theia IDE is based on the Theia platform. The Theia IDE is available as a downloadable desktop application. You can also try the latest version of the Theia IDE online. For more details, see the Readme below.
https://theia-ide.org/#theiaide
MIT License
343 stars 129 forks source link

Do not run TerserPlugin in parallel #386

Closed jfaltermeier closed 1 month ago

jfaltermeier commented 1 month ago

What it does

Update webpack config to not run TerserPlugin in parallel. Running in parallel may lead to OOM issues on smaller/shared build nodes

The Job that ran out of memory during webpack: https://ci.eclipse.org/theia/job/Theia2/job/master/158/

We had similar issues here: https://github.com/eclipse-cdt-cloud/cdt-cloud-blueprint/pull/91

Contributed on behalf of STMicroelectronics

How to test

Check if build still works

Review checklist

Reminder for reviewers