ambar / vscode-bundle-size

Display the bundle size of npm packages: https://marketplace.visualstudio.com/items?itemName=ambar.bundle-size
35 stars 1 forks source link

Possible memory leak on mac m1 #16

Closed cisc0disco closed 5 months ago

cisc0disco commented 9 months ago

Hi, i've noticed after a while in the system monitor esbuild ran by this extension has 5gb ram and when i have only 8 gb, the computer with this extension starts lagging immensely.

GagaPoloJr commented 5 months ago

I also encountered the issue when I changed the import from '../' to an alias path ('@/'). I think try to change from @ to ~

Note: you can ignore this comment if you want to know size of ur imported component

ambar commented 5 months ago

@cisc0disco @GagaPoloJr In the new v1.8.0 the plugin actively stops the esbuild process after measurement, which ensures that memory is freed up!