ts-loader icon indicating copy to clipboard operation
ts-loader copied to clipboard

Memory consuption problem

Open mbrn opened this issue 4 years ago • 5 comments
trafficstars

We are using ts-loader with a webpack configuration on our projects. On last days we monitor that our applications consume very high level memory.

Operation system: Windows 10

Expected Behaviour

Memory usage must be normal level.

Actual Behaviour

Every webpack application uses more than 1-1.5 GB memory

Steps to Reproduce the Problem

Use ts-loader with webpack with a few helper plugin like TsconfigPathsPlugin, Dotenv, DeadCodePlugin, HtmlWebpackPlugin

Location of a Minimal Repository that Demonstrates the Issue.

mbrn avatar Sep 09 '21 18:09 mbrn

This started for me out of nowhere. reverting to older commits from about a week ago yields the same results. switching to babel as a temporary measure seems to ease this by about 50% but memory consumption is still very high. This was not an issue a few days ago. maybe this is an issue with a peer dep

jakeleventhal avatar Sep 09 '21 18:09 jakeleventhal

Nothing has changed in ts-loader - so it seems likely the problem lies elsewhere

johnnyreilly avatar Sep 09 '21 19:09 johnnyreilly

my suggestion is that is a dep of ts-loader. maybe ts-loader should pin down

jakeleventhal avatar Sep 09 '21 21:09 jakeleventhal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 17 '22 06:04 stale[bot]

not stale

jakeleventhal avatar Apr 17 '22 10:04 jakeleventhal