Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce memory of Zinc by de-duplicating Strings, etc #780

Closed
retronym opened this issue May 7, 2020 · 1 comment
Closed

Reduce memory of Zinc by de-duplicating Strings, etc #780

retronym opened this issue May 7, 2020 · 1 comment
Milestone

Comments

@retronym
Copy link
Member

retronym commented May 7, 2020

Using Java Mission control, take a heap dump of a running SBT build. The resulting UI includes the JOverflow analysis of opportunities to reduce footprint.

ClassLike.savedAnnotations contains duplicate strings for scala.native scala.deprecated etc.

image

UsedName / NameHash

image

My work on RelationsBuilder in #764 is a step in the right direction.

Related fix for SBT itself: sbt/sbt#5535

@retronym retronym added this to the 1.4.0 milestone May 19, 2020
@eed3si9n eed3si9n modified the milestones: 1.4.0, 1.4.1 Oct 4, 2020
@Friendseeker
Copy link
Member

Closed by #1326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants