Replies: 8 comments
-
|
Hi! This most probably means that your runner is running out of memory. Try to monitor the memory or give the runner more memory and it should work. The new abstraction with running queries in workers needs a bit more memory at the moment. |
Beta Was this translation helpful? Give feedback.
-
|
Hey, any advice how to fix it? How to make build running longer but do not fail. My docker-compose.yml Error: |
Beta Was this translation helpful? Give feedback.
-
|
docker-compose.yml
Should Gatsby be really enterprise-only product only for those with big servers? |
Beta Was this translation helpful? Give feedback.
-
|
Crosslink: #34106 |
Beta Was this translation helpful? Give feedback.
-
|
@kmajzlik You can lower peak memory usage following this suggestion: #34215 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
@graysonhicks - thanks for advice. Originally i had 4 and worked well with Gatsby 3. After upgrade i tried to decrease to 2 and also 1. |
Beta Was this translation helpful? Give feedback.
-
|
Crosslink: #34215 |
Beta Was this translation helpful? Give feedback.
-
|
Not exactly the same, but within our CI runners we also see this error around every second build: Super annoying. There is no indication of what the error is. All we do is to start the build again, usually, it works then. Those CI servers don't have a lot of memory (don't know how much to be honest), but we never had any issues with Gatsby 3. I also added a comment about the memory usage - that increased dramatically - on our production server here: #34215 (comment) |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Preliminary Checks
Description
While upgrade Gatsby from 3 to 4 i have failing pipelines with gitlab-runner.
I have shell runner, tried to use both Node 14 and 16.
If i run
gatsby build --verboseunder gitlab-runner user in same directory it succeeds.I also tried
FORCE_COLOR=0 ~/.yarn/bin/gatsby build --verbose &> build-log.txtand finish in build-log with same result.On multiple projects i have same result with Gatsby 4 (tried 4.0.0, 4.2.0 and also 4.2-next):
Reproduction Link
none
Steps to Reproduce
Expected Result
Successful build.
Actual Result
Failing build.
Environment
System: OS: Linux 5.4 Ubuntu 20.04.3 LTS (Focal Fossa) CPU: (4) x64 Intel(R) Pentium(R) CPU J4205 @ 1.50GHz Shell: 5.0.17 - /bin/bash Binaries: Node: 16.13.0 - /usr/bin/node Yarn: 1.22.15 - /usr/bin/yarn npm: 8.1.0 - /usr/bin/npm Browsers: Firefox: 94.0 npmPackages: gatsby: ^4.2.0 => 4.2.0 gatsby-plugin-config: ^1.0.7 => 1.0.7 gatsby-plugin-global-context: ^1.0.0 => 1.0.0 gatsby-plugin-image: ^2.2.0 => 2.2.0 gatsby-plugin-manifest: ^4.2.0 => 4.2.0 gatsby-plugin-react-helmet: ^5.2.0 => 5.2.0 gatsby-plugin-sass: ^5.2.0 => 5.2.0 gatsby-plugin-sharp: ^4.2.0 => 4.2.0 gatsby-plugin-styled-components: ^5.2.0 => 5.2.0 gatsby-plugin-typography: ^4.2.0 => 4.2.0 gatsby-plugin-use-query-params: ^1.0.1 => 1.0.1 gatsby-source-drupal: ^5.2.0 => 5.2.0 gatsby-source-filesystem: ^4.2.0 => 4.2.0 gatsby-transformer-sharp: ^4.2.0 => 4.2.0Config Flags
None
Beta Was this translation helpful? Give feedback.
All reactions