percy / storybook-action

[Deprecated] A GitHub action to run Percy with Storybook
https://docs.percy.io/docs/github-actions#section-storybook-action
MIT License
11 stars 5 forks source link

error when building #25

Closed chrisdrackett closed 2 years ago

chrisdrackett commented 3 years ago

I'm getting the following now when trying to run this action:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
3467
 1: 0xa04200 node::Abort() [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3468
 2: 0x94e4e9 node::FatalError(char const*, char const*) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3469
 3: 0xb7978e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3470
 4: 0xb79b07 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3471
 5: 0xd34395  [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3472
 6: 0xd34f1f  [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3473
 7: 0xd42fab v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3474
 8: 0xd46b6c v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3475
 9: 0xd1524b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3476
10: 0x105b390 v8::internal::Runtime_AllocateInOldGeneration(int, unsigned long*, v8::internal::Isolate*) [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3477
11: 0x1401219  [/opt/hostedtoolcache/node/14.16.0/x64/bin/node]
3478
Aborted (core dumped)
3479
error Command failed with exit code 134.

Not yet sure what changed as this was working up until about 4 days ago. I'm investigating but wanted to post here in case others are seeing similar.

Robdel12 commented 3 years ago

Hey @chrisdrackett thanks for the issue! I'm not seeing anything in the stack trace related to Percy -- this seems like the GH runner ran out of memory and crashed when building your storybook project?