Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix high memory usage (#173)#174

Closed
bew wants to merge 1 commit into
shellscape:masterfrom
bew:173-fix-high-memory-usage
Closed

Fix high memory usage (#173)#174
bew wants to merge 1 commit into
shellscape:masterfrom
bew:173-fix-high-memory-usage

Conversation

@bew

@bew bew commented Oct 23, 2018

Copy link
Copy Markdown
Contributor

Fixes #173

The toJson() call can use a lot of memory by generating a lot of stats information about modules.
But we don't use this information for this plugin, so we can only enable the generation of assets related data used for this plugin.

Read #173 for more information

@ndelage ndelage mentioned this pull request Dec 3, 2018
Closed
4 tasks
@bew

bew commented Feb 11, 2019

Copy link
Copy Markdown
Contributor Author

Based on webdeveric/webpack-assets-manifest#47 I simplified the implementation to be future-proof (effectively disabling everything by default instead of manually listing every field we don't want one by one).

@Kenneth-KT

Copy link
Copy Markdown

Not sure if the author still want to maintain this library.

If not, there is another plugin webpack-assets-manifest that do exactly the same thing and they have this problem fixed in this commit already, but they haven't released it yet.

Run yarn add --dev https://github.com/webdeveric/webpack-assets-manifest.git\#051243e to add it to your repo.

@mastilver

Copy link
Copy Markdown
Contributor

Hi @bew

Could you fix the tests please?

@mastilver mastilver closed this in b8db85e Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Very high memory usage (~10GB for ~3000 files)

3 participants