-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this plugin uses too much memory #39
Comments
I have the same issue |
i have the same too |
Same issue here |
I have similar issue. I am using latest version
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when i add this plugin to my project, and run 'npm run build', it used more than 2g of memory and finally threw the error - ‘JavaScript heap out of memory’.
`F:\program\react-backservice-typescript>npm run build
production
vite v5.1.5 building for production...
✓ 6685 modules transformed.
<--- Last few GCs --->
[8768:00000000075FC610] 133378 ms: Mark-sweep (reduce) 1981.9 (2031.5) -> 1981.7 (2031.8) MB, 1930.1 / 0.0 ms (average mu = 0.195, current mu = 0.003) allocation failure; scavenge might not succeed
[8768:00000000075FC610] 135314 ms: Mark-sweep (reduce) 1982.7 (2031.8) -> 1982.6 (2032.8) MB, 1934.8 / 0.0 ms (average mu = 0.102, current mu = 0.001) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 00000001402507BF node_api_throw_syntax_error+175823
2: 00000001401D5796 EVP_MD_meth_get_input_blocksize+59654
3: 00000001401D7480 EVP_MD_meth_get_input_blocksize+67056
4: 0000000140C7DCC4 v8::Isolate::ReportExternalAllocationLimitReached+116
5: 0000000140C69052 v8::Isolate::Exit+674
6: 0000000140AEAF0C v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
7: 0000000140AE812B v8::internal::Heap::CollectGarbage+3963
8: 0000000140AFE363 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
9: 0000000140AFEC0D v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
10: 0000000140B0E3D0 v8::internal::Factory::NewFillerObject+816
11: 00000001407FF315 v8::internal::DateCache::Weekday+1349
12: 0000000140D1B1F1 v8::internal::SetupIsolateDelegate::SetupHeap+558193
13: 0000000140CCCC65 v8::internal::SetupIsolateDelegate::SetupHeap+237285
14: 00000000C11DBB94`
The text was updated successfully, but these errors were encountered: