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

Fix build issue #1488

Merged
merged 1 commit into from
Jan 6, 2023
Merged

Fix build issue #1488

merged 1 commit into from
Jan 6, 2023

Conversation

JiuqingSong
Copy link
Collaborator

We see build error caused by memory heap overflow:

[Step 20 of 21]: Building demo site...

<--- Last few GCs --->

[1836:0x5c07f10]   393575 ms: Scavenge (reduce) 2004.6 (2047.4) -> 1990.0 (2047.3) MB, [34](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:35).0 / 0.0 ms  (average mu = 0.239, current mu = 0.2[36](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:37)) allocation failure 
[1836:0x5c07f10]   39[37](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:38)24 ms: Scavenge (reduce) 1991.3 (2023.3) -> 1990.2 (2023.6) MB, 15.1 / 0.0 ms  (average mu = 0.239, current mu = 0.236) allocation failure 
[1836:0x5c07f10]   39[38](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:39)48 ms: Scavenge (reduce) 1991.1 (2016.6) -> 1990.2 (2017.6) MB, 12.2 / 0.0 ms  (average mu = 0.2[39](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:40), current mu = 0.236) allocation failure 


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xa3aaf0 node::Abort() [node]
 2: 0x970199 node::FatalError(char const*, char const*) [node]
 3: 0xbba[42](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:43)e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xbba7a7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xd769c5  [node]
 6: 0xd7754f  [node]
 7: 0xd8538b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 8: 0xd87a45 v8::internal::Heap::HandleGCRequest() [node]
 9: 0xd2df57 v8::internal::StackGuard::HandleInterrupts() [node]
10: 0x109f84a v8::internal::Runtime_StackGuardWithGap(int, unsigned long*, v8::internal::Isolate*) [node]
11: 0x1[44](https://github.com/microsoft/roosterjs/actions/runs/3856992242/jobs/6574236897#step:5:45)8df9  [node]

Try to fix it by increasing heap limit.

@JiuqingSong JiuqingSong merged commit bdc673c into master Jan 6, 2023
@JiuqingSong JiuqingSong deleted the u/jisong/fixbuildissue branch January 6, 2023 23:12
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

Successfully merging this pull request may close these issues.

2 participants