Skip to content
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

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #3633

Open
Hasnain-110 opened this issue Feb 2, 2022 · 1 comment

Comments

@Hasnain-110
Copy link

Hasnain-110 commented Feb 2, 2022

<--- Last few GCs --->

[3648:000002108D978A40] 131532 ms: Mark-sweep (reduce) 1960.0 (2003.9) -> 1959.9 (2003.9) MB, 1354.0 / 0.0 ms (average mu = 0.183, current mu = 0.000) last resort GC in old space requested
[3648:000002108D978A40] 132897 ms: Mark-sweep (reduce) 1959.9 (2003.9) -> 1959.9 (2003.9) MB, 1364.0 / 0.1 ms (average mu = 0.101, current mu = 0.000) last resort GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 00007FF7D9C330AF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+112511
2: 00007FF7D9BC2216 DSA_meth_get_flags+65542
3: 00007FF7D9BC30CD node::OnFatalError+301
4: 00007FF7DA4F4B6E v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF7DA4DF09D v8::SharedArrayBuffer::Externalize+781
6: 00007FF7DA38268C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
7: 00007FF7DA37D24E v8::internal::Heap::AllocateExternalBackingStore+2270
8: 00007FF7DA39ADB0 v8::internal::FreeListManyCached::Reset+1408
9: 00007FF7DA39B465 v8::internal::Factory::AllocateRaw+37
10: 00007FF7DA3AD15E v8::internal::FactoryBasev8::internal::Factory::AllocateRawArray+46
11: 00007FF7DA3AFDBA v8::internal::FactoryBasev8::internal::Factory::NewFixedArrayWithFiller+74
12: 00007FF7DA3B0013 v8::internal::FactoryBasev8::internal::Factory::NewFixedArrayWithMap+35
13: 00007FF7DA1AE778 v8::internal::OrderedNameDictionary::Addv8::internal::LocalIsolate+856
14: 00007FF7DA1AED37 v8::internal::OrderedNameDictionary::FindEntryv8::internal::LocalIsolate+247
15: 00007FF7DA1AEBC4 v8::internal::OrderedHashTablev8::internal::OrderedHashMap,2::EnsureGrowablev8::internal::Isolate+100
16: 00007FF7DA0DF4BF v8::internal::CompilationCache::IsEnabledScriptAndEval+5775
17: 00007FF7DA582541 v8::internal::SetupIsolateDelegate::SetupHeap+494417
18: 00007FF7DA55D0FB v8::internal::SetupIsolateDelegate::SetupHeap+341771
19: 0000021090812104

This error come when I load Lottie files
This is my json file.
{
"name": "referrizer",
"version": "1.0.0",
"private": true,
"description": "referrizer",
"keywords": [
"gatsby"
],
"scripts": {
"develop": " NODE_OPTIONS=--max_old_space_size=8192 gatsby develop",
"start": "gatsby develop",
"build": "gatsby build --max_old_space_size=4096",
"serve": "gatsby serve",
"clean": "gatsby clean"
},
"dependencies": {
"animate.css": "^4.1.1",
"axios": "^0.24.0",
"bootstrap": "^4.4.1",
"formik": "^2.2.9",
"gatsby": "^4.1.3",
"gatsby-plugin-feed": "^4.5.0",
"gatsby-plugin-image": "^2.4.0",
"gatsby-plugin-manifest": "^4.1.2",
"gatsby-plugin-sharp": "^4.4.0",
"gatsby-plugin-sitemap": "^5.1.1",
"gatsby-source-filesystem": "^4.4.0",
"gatsby-source-strapi": "^1.0.2",
"gatsby-transformer-sharp": "^4.4.0",
"jwt-decode": "^3.1.2",
"lottie-web": "^5.8.1",
"react": "^17.0.2",
"react-accessible-accordion": "^4.0.0",
"react-bootstrap": "^1.0.0",
"react-copy-to-clipboard": "^5.0.4",
"react-dom": "^17.0.2",
"react-dropzone": "^11.4.2",
"react-fast-marquee": "^1.3.1",
"react-headroom": "^3.2.0",
"react-helmet": "^6.1.0",
"react-helmet-async": "^1.2.2",
"react-markdown": "^7.1.0",
"react-multi-carousel": "^2.6.5",
"react-player": "^2.9.0",
"react-share": "^4.4.0",
"react-slick": "^0.28.1",
"react-tabs": "^3.2.3",
"react-toastify": "^8.1.0",
"reading-time": "^1.5.0",
"slick-carousel": "^1.8.1",
"video-react": "^0.15.0",
"wowjs": "^1.1.3",
"yup": "^0.32.11"
}
}

Environment
window:11
Node: 16.13.1
Gatsby :4.1.3

@Hasnain-110
Copy link
Author

@ALL please help, what can i do for this?

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

No branches or pull requests

1 participant