Skip to content

Out of memory errors #3

@ehmicky

Description

@ehmicky

It looks like this repository (which is using itself as a plugin) has experiencing the following error:

┌──────────────────────────────────────────────────────────────────────┐
│ 2. onPostBuild command from netlify-plugin-amp-server-side-rendering │
└──────────────────────────────────────────────────────────────────────┘

AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
AMP Optimizer AddMandatoryTags WARNING No canonical param is given. Setting canonical href to `.`
<--- Last few GCs --->
[1373:0x3d5ec30] 25775 ms: Mark-sweep 2047.3 (2051.1) -> 2047.3 (2051.1) MB, 202.5 / 0.1 ms (average mu = 0.233, current mu = 0.000) last resort GC in old space requested
[1373:0x3d5ec30] 25974 ms: Mark-sweep 2047.3 (2051.1) -> 2047.3 (2051.1) MB, 198.7 / 0.1 ms (average mu = 0.128, current mu = 0.000) last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x0e2c636408d1 <JSObject>
0: builtin exit frame: utf8Slice(this=0x08898baa21f1 <Uint8Array map = 0x320084a646a9>,4636033,0,0x08898baa21f1 <Uint8Array map = 0x320084a646a9>)
1: slice [0x3a0cb0292851] [buffer.js:603] [bytecode=0x12e1144d0b51 offset=7](this=0x3a0cb0291631 <Object map = 0x320084a65199>,0x08898baa21f1 <Uint8Array map = 0x320084a646a9>,0,4636033)
2: toString [0x33b85575f2c9] [buffer.js:800] [bytec...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 0xa09830 node::Abort() [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
2: 0xa09c55 node::OnFatalError(char const*, char const*) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
3: 0xb7d71e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
4: 0xb7da99 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
5: 0xd2a1f5 [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
6: 0xd3ab08 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
7: 0xd0891c v8::internal::Factory::NewRawOneByteString(int, v8::internal::AllocationType) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
8: 0xd090dd v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector<char const> const&, v8::internal::AllocationType) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
9: 0xb95a7f v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
10: 0xacde40 node::StringBytes::Encode(v8::Isolate*, char const*, unsigned long, node::encoding, v8::Local<v8::Value>*) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
11: 0x9e3986 [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
12: 0xbe96a9 [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
13: 0xbeb497 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]
14: 0x13c5c79 [/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/bin/node]

Did you figure out what happened?
Wondering whether this might be experienced by other users, or this was a development-only error. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions