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

JavaScript heap out of memory #46

Open
yashodhah opened this issue Jul 21, 2020 · 3 comments
Open

JavaScript heap out of memory #46

yashodhah opened this issue Jul 21, 2020 · 3 comments

Comments

@yashodhah
Copy link

yashodhah commented Jul 21, 2020

90% chunk assets processing
<--- Last few GCs --->

[11292:00000261A7EAAAC0]   830073 ms: Mark-sweep 2036.4 (2063.1) -> 2036.2 (2063.6) MB, 2577.1 / 0.1 ms  (average mu = 0.098, current mu = 0.003) allocation failure scavenge might not succeed
[11292:00000261A7EAAAC0]   832047 ms: Mark-sweep 2037.0 (2063.6) -> 2036.3 (2063.6) MB, 1960.2 / 0.0 ms  (average mu = 0.058, current mu = 0.007) allocation failure scavenge might not succeed


<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 00007FF69D02A09D]
    1: StubFrame [pc: 00007FF69CFAAA71]
    2: ConstructFrame [pc: 00007FF69CFAA50F]
    3: StubFrame [pc: 00007FF69D08E880]
Security context: 0x007a56a408d1 <JSObject>
    4: new Node [000001D2974CF959] [D:\aura\dev\aura\gbl_x_ntpat_wasted\node_modules\acorn\dist\acorn.js:2934] [bytecode=0000026A52979F51 offset=42](this=0x0058d9631709 <Node map = 0000021499151CD9>,0x0097af97b8c9 <Parser map = 00000...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF69C41538F napi_wrap+114751
 2: 00007FF69C3BFE26 v8::base::CPU::has_sse+66646
 3: 00007FF69C3C0C26 v8::base::CPU::has_sse+70230
 4: 00007FF69CBD5B3E v8::Isolate::ReportExternalAllocationLimitReached+94
 5: 00007FF69CBBDC11 v8::SharedArrayBuffer::Externalize+833
 6: 00007FF69CA89E7C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436
 7: 00007FF69CA950B0 v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312
 8: 00007FF69CA91BD4 v8::internal::Heap::PageFlagsAreConsistent+3204
 9: 00007FF69CA873D3 v8::internal::Heap::CollectGarbage+1283
10: 00007FF69CA85A44 v8::internal::Heap::AddRetainedMap+2452
11: 00007FF69CAA6D8D v8::internal::Factory::NewFillerObject+61
12: 00007FF69C80CED1 v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1665
13: 00007FF69D02A09D v8::internal::SetupIsolateDelegate::SetupHeap+546637
14: 00007FF69CFAAA71 v8::internal::SetupIsolateDelegate::SetupHeap+24865
15: 00007FF69CFAA50F v8::internal::SetupIsolateDelegate::SetupHeap+23487
16: 00007FF69D08E880 v8::internal::SetupIsolateDelegate::SetupHeap+958256
17: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
18: 00007FF69CFAA5E0 v8::internal::SetupIsolateDelegate::SetupHeap+23696
19: 00007FF69D08E880 v8::internal::SetupIsolateDelegate::SetupHeap+958256
20: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
21: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
22: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
23: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
24: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
25: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
26: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
27: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
28: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
29: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
30: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
31: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
32: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
33: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
34: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
35: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
36: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
37: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
38: 00007FF69D0459A9 v8::internal::SetupIsolateDelegate::SetupHeap+659545
39: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
40: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
41: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
42: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
43: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
44: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
45: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
46: 00007FF69CFA837C v8::internal::SetupIsolateDelegate::SetupHeap+14892
47: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
48: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
49: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
50: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
51: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
52: 00007FF69CFA837C v8::internal::SetupIsolateDelegate::SetupHeap+14892
53: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
54: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
55: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
56: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
57: 00007FF69CFA837C v8::internal::SetupIsolateDelegate::SetupHeap+14892
58: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
59: 00007FF69CFAF04C v8::internal::SetupIsolateDelegate::SetupHeap+42748
60: 0000026B8BC0B94E

Angular - 9.1.9

@santoshyadavdev
Copy link
Member

This issue is not with the package, we build the app use sourceMap enabled, try to do the same, maybe you don't have enough memory.

@jayordway
Copy link

@santoshyadavdev I would say it is an issue with the package if you do not give the ability to increase the memory when your script runs the build process.

@santoshyadavdev
Copy link
Member

@santoshyadavdev I would say it is an issue with the package if you do not give the ability to increase the memory when your script runs the build process.

Feel free to open a PR, please 🙏

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

3 participants