question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change worker memory limit

See original GitHub issue

When I run nuxt build I see Using 1 worker with 2048MB memory limit How to set limit as 512MB? My server has only 1GB RAM and it breaks the server.

<div align="right">This question is available on Nuxt community (#c9475)</div>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
barinalicommented, Sep 15, 2019

For others; after migrating to @nuxt/typescript-build, associated properties should be given to the module called @nuxt/typescript-build in the config file as below;

// nuxt.config.ts

export default config: Configuration {
  buildModules: [
    ['@nuxt/typescript-build', {
      typeCheck: {
        memoryLimit: 4096,
        workers: 2
      },
      ignoreNotFoundWarnings: false
    }]
  ]
}
3reactions
kevinmarreccommented, Jul 10, 2019

@JILeXanDR

https://nuxtjs.org/api/configuration-build#typescript-typecheck https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#options => memoryLimit

// nuxt.config.js

export default {
  build: {
    typescript: {
      typeCheck: {
        memoryLimit: 512
      }
    }
  }
}

Please close the issue if it went fine for you 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Worker Memory Management - Dask.distributed
To address this, we periodically monitor the process memory of the worker every 200 ms. If the system reported memory use is above...
Read more >
How to change memory per node for apache spark worker
Your workers have 2/2/6Gb of total memory and are currently using 512Mb. That's the task executor's memory usage.
Read more >
Why does my worker memory limit not increase? - ITK Discourse
I am a Dask newbie trying out the Dask.distributed library, and I would like to create a Client with the worker memory limit...
Read more >
Configure memory limits | Cloud Run Documentation
You can set memory limits on Cloud Run services and jobs. By default, the memory allocated to each container instance of a revision...
Read more >
Configuring memory and CPU options - IBM
Procedure ; Spark worker, 1 GB, 1 GB ; Spark driver, 1 GB, 2 GB ; Spark executor, 1 GB, 2 GB ;...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found