-
Notifications
You must be signed in to change notification settings - Fork 65
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
Memory used by background process increases endlessly. #264
Comments
Seems like a lot of stuff was not deleted from memory on clear before new cache creation. I tried to analyze a heap and can assume, that it hangs somewhere in And also it would be great to have an ability to pass such |
The same issue if run over a directory of files without To reproduce, clone this repo: AykutSarac/jsoncrack.com
UPD: The issue is rather occasional |
Can confirm. I'm getting over 1.2GB of memory usage |
My best guess is that you have plugins that use Lines 61 to 67 in 8357a59
Does anyone knows if/how imported modules can be cleared? Would we need a custom loader? An alternative would be to change the architecture of |
I'm using Neovim and I set up eslint_d through Mason: https://github.com/williamboman/mason.nvim Sitting at 4GB memory consumption. And I have no instance of nvim open currently. |
Hi, it is awesome project, but I noticed probably a memory leak. If server is already running, I change any file from
check_files
array (package.json
,package-lock.json
,npm-shrinkwrap.json
,yarn.lock
,pnpm-lock.yaml
) and runeslint_d
again, then the memory used by backgroundeslint_d
process increases for about 100-200 MB. It repeats over and over again. For me it reached even 3 GB and then I have to restart it manually.I run
eslint_d
for the first time and every next time with the same command and only in one project:eslint_d --cache --fix **/*.ts
I have spent a lot of time trying to manage this issue in source code, but I can not understand where exactly it happens.
Can someone help with it?
The text was updated successfully, but these errors were encountered: