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

Filesystem/Folder is being used by another process. (Java language server partially takes down the filesystem) #662

Open
Icedude907 opened this issue May 24, 2024 · 1 comment

Comments

@Icedude907
Copy link

Hi there, thanks for the work you've done on this project.

I'm increasingly using a BTRFS partition store my files.
I've played games from it, recorded to it, and compiled C++ programs on it. Generally works well.

Recently I've tried to work with Java but it seems like the VSCode Java Language server has the very consistent ability to take down the filesystem after a couple of minutes of work. I don't have to do anything specific - just leave VSC open with the java server ready.
Project isn't particularly large - 8 files with a maven build environment.

The behaviour it exhibits is inconsistent, taking down specific files and folders:

  • Sometimes the root B:/ is inaccessible ("File is being used by another process"), while its subdirectories B:/Documents/ work fine if I cd into them. (When this happens, "Btrfs Properties" goes missing from the explorer context menu).
  • Other times a source file or .class file becomes unreadable or unwritable, or a random folder along the path does.

Only fix is a full restart. I've tried just closing vscode/java/git but no success.
No (known) corruption afterwards, just a minute or two of lost information. No bsod.
No spike in CPU/Disk usage either.

Using Win10 19045.4412, cpu i5-8250U, SSD partitioned with NTFS (boot/page) and BTRFS.

Happy to provide more details if needed.
Busy at the moment so it might take me a while to respond.

@thom2305
Copy link

I do have the same behavior but it affects anything i do,
Ex: coding in vscode then it disapers until i close vscode and i restart explorer
this became annoying in the long run

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

No branches or pull requests

2 participants