Skip to content

Limit what you write to workspaceStorage #2110

Description

@Artur-

My ~/Library/Application Support/Code/User/workspaceStorage folder is 95GB
Pretty much all of this comes from the content of redhat.java folders

There are 802 such folders inside workspaceStorage/*

The biggest folder contains 6.7GB stuff. That contains 64505 files named client.log.2021-08-17.<number> with apparently some trace logging. Not sure if I at one point tried to debug something and maybe caused this. Still seems a bit excessive.

Most folders are around 100MB and all space is consumed by redhat.java/jdt_ws/.metadata/.plugins/org.eclipse.jdt.core/*.index files.

Are you indexing the same dependencies over and over again for each workspace or something similar?

For comparison, my whole ~/.m2 folder is 18GB so using 95GB for workspace storage does not seem reasonable.

Environment
  • Operating System: macOs Big Sur
  • JDK version: 16
  • Visual Studio Code version: 1.60.0
  • Java extension version: 0.81.0
Steps To Reproduce
  1. Code with VS code
  2. Code some more
  3. Code even more

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions