Bug 547239 - Source download consumes too much RAM
Summary: Source download consumes too much RAM
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Mickael Istria CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy, performance
Depends on:
Blocks:
 
Reported: 2019-05-14 02:41 EDT by Mickael Istria CLA
Modified: 2021-04-19 13:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2019-05-14 02:41:49 EDT
When downloading sources, the download source job can take too much RAM, sometimes leading to OutOfMemory.

This seems caused by similar issue as bug 515668 : too many projects are loaded in the same Maven context, with a lot of duplication, and this can make memory consumption explode. Since we don't need all projects at the same time for this operation (unlike a refresh than will reevaluate dependencies between projects), we can simply process them one by one.
Comment 1 Mickael Istria CLA 2019-05-15 03:14:03 EDT
Merged.
Comment 3 Denis Roy CLA 2021-04-19 13:23:50 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/