Flow-for-vscode: flow consumes all ram

Created on 2 Oct 2017  路  8Comments  路  Source: flowtype/flow-for-vscode

I have described this in these comments:

The weird part is that it completely bombs out my pc when using vscode and flow-for-vscode. But when I use atom, there are no problems.

Could it be that flow-for-vscode is doing something unexpected?

Most helpful comment

Has there been any active movement on trying to fix this problem?

All 8 comments

i bet the atom version uses flow-language-server: https://github.com/flowtype/flow-for-vscode/pull/150 and so has no need to spawn off the processes itself. You're welcome to try wrap up that PR for this extension.

Thanks for the pointer. I think I'd bite off a bit too much...

@barbalex I have a similar problem, but specifically Flow is creating dozens of instances of itself to max out RAM.

Can confirm, on linux, see the entries with '26GB'

Columns are Command User CPU% RSS VM-Size PID
2018-02-03-100751_619x201_scrot

There might be some memory leak

This happens to me too - had to disable the vscode extension

Has there been any active movement on trying to fix this problem?

What about excluding ./**/node_modules/ and JSON or JS files over a certain size by default?

I am closing this issue as flow has improved a lot (try using new version of flow). Also, this plugin switched to using lsp which will fix plugin spawning lot of processes.

Was this page helpful?
0 / 5 - 0 ratings