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

Esbuild Memory Hog #8

Closed a-tarek closed 10 months ago

a-tarek commented 1 year ago

Not sure where the problem would be Developing on a react app with typescript and lazy imports Memory starts leaking after opening multiple files / saves / sort imports / etc .. It starts out incremental on each save and then it start eating memory by itself as if it is stuck in a loop

image
ambar commented 1 year ago

Sorry for the late reply, since I can't reproduce the problem, my suggestion is to reinstall/upgrade to the latest version (which will trigger an update to esbuild, maybe it solves the problem).

ambar commented 10 months ago

The latest v1.6.0 has changed to a lazy async generator API, and now parallel bundling are limited to one, which should result in better performance. If you still have problems, please reopen it.

ambar commented 5 months ago

19