MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
6.29k stars 11.22k forks source link

[formatter] - Stays resident in memory taking ~ 1.4 GB on macos #20478

Open FrankC01 opened 1 day ago

FrankC01 commented 1 day ago

After shutting down VSC, move-analyzer is staying resident in memory consuming copious amounts of memory.

stefan-mysten commented 13 hours ago

Thanks for the report @FrankC01. We'll have a look asap.

awelc commented 13 hours ago

Will try taking a look but it's more of a process management issue than a problem with move-analyzer itself (happens as well with rust-analyzer as well which is an LSP implementation for Rust). I realize it's not ideal, but I had to killall Rust analyzer quite a few times myself, and killall move-analyzer should do here in a pinch as well ..