Skip to content

Fatal memory overflow error during deployment via GitHub Actions #1374

@alextselegidis

Description

@alextselegidis

Thanks for this amazing project!

Using MUP v1.5.11

Using a large GitHub Actions Runner (16GB RAM)

Tried setting --max-old-space-size but to no avail

While deploying the app I'm getting this error:

Building App Bundle Locally
ostrio:files: updating npm dependencies -- eventemitter3, abort-controller...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

<--- Last few GCs --->

[5032:0x13bf2b90]   475229 ms: Mark-sweep (reduce) 4025.6 (4092.8) -> 4025.6 (4093.5) MB, 2547.7 / 0.7 ms  (average mu = 0.101, current mu = 0.000) allocation failure GC in old space requested
[5032:0x13bf2b90]   477835 ms: Mark-sweep (reduce) 4025.6 (4092.5) -> 4025.5 (4093.5) MB, 2605.7 / 0.7 ms  (average mu = 0.052, current mu = 0.000) last resort GC in old space requested


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xa3d3a0 node::Abort() [/home/runner/.meteor/packages/meteor-tool/.2.16.0.3vipvb.sgul9++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 2: 0x9741f9 node::FatalError(char const*, char const*) [/home/runner/.meteor/packages/meteor-tool/.2.16.0.3vipvb.sgul9++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]

There is enough memory available for the app to build, so I wonder how could this be?

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Manually deploying from my laptop works without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions