Memory usage #2437
Answered
by
ahnpnl
luiz290788
asked this question in
Q&A
Memory usage
#2437
-
I'm facing an increase in the memory usage for jest/ts-jest. Is it possible that it is coming from the sourcemaps? Is it possible to disable sourcemaps? |
Beta Was this translation helpful? Give feedback.
Answered by
ahnpnl
Mar 9, 2021
Replies: 1 comment 1 reply
-
no it isn't caused by source map, see more information in #1967 It is not possible to disable source map Each jest worker has its own TypeScript compiler instance and these instances have their own memory cache for compiling. These instances currently don't share information with each other therefore the memory usage is high. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
luiz290788
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
no it isn't caused by source map, see more information in #1967
It is not possible to disable source map
Each jest worker has its own TypeScript compiler instance and these instances have their own memory cache for compiling. These instances currently don't share information with each other therefore the memory usage is high.