Skip to content

Incremental builds occupy a lot of space. (19GB for a small sized project) #48172

Closed
@AlexEne

Description

@AlexEne

I originally posted this on the RLS bug tracker ( rust-lang/rls#709 ) and it was suggested to open an issue here.

These builds in the RLS subfolder generate a lot of files that eat up a high amount of disk space for the project I am working on. (19 GB)
All this in target/rls/debug/incremental/

For a project that's about a few thousand lines of code, it uses around 16GB of disk space. Now I am unsure of what generates this, I use RLS as part of visual studio code.
All the files are generated while I worked on my project today: (11 Feb 2018). Or they were at least modified today.

rls_disk_space_usage

For reference this is the lines of code output for my project (not too big).
loc

If you want to reproduce the issue, I can give you access to my repo, or we can work something out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-bugCategory: This is a bug.I-compilememIssue: Problems and improvements with respect to memory usage during compilation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions