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

Created on 1 Jan 2019  路  1Comment  路  Source: vuejs/vue-cli

Version

3.2.2

Reproduction link

http://localhost/

Environment info

vue info
Usage: vue <command> [options]

Options:
  -V, --version                              output the version number
  -h, --help                                 output usage information

Commands:
  create [options] <app-name>                create a new project powered by vue-cli-service
  add [options] <plugin> [pluginOptions]     install a plugin and invoke its generator in an already created project
  invoke [options] <plugin> [pluginOptions]  invoke the generator of a plugin in an already created project
  inspect [options] [paths...]               inspect the webpack config in a project with vue-cli-service
  serve [options] [entry]                    serve a .js or .vue file in development mode with zero config
  build [options] [entry]                    build a .js or .vue file in production mode with zero config
  ui [options]                               start and open the vue-cli ui
  init [options] <template> <app-name>       generate a project from a remote template (legacy API, requires @vue/cli-init)
  config [options] [value]                   inspect and modify the config
  upgrade [semverLevel]                      upgrade vue cli service / plugins (default semverLevel: minor)

  Run vue <command> --help for detailed usage of given command.

  Unknown command info.

Steps to reproduce

import a json file of size 367M

What is expected?

data is loaded

What is actually happening?

fails to serve


I cant seem to find a way to increase the memory limit (my device has more than enough ram, I think the webpack server limits how much it can take)?

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandon93s picture brandon93s  路  3Comments

BusyHe picture BusyHe  路  3Comments

JIANGYUJING1995 picture JIANGYUJING1995  路  3Comments

CodeApePro picture CodeApePro  路  3Comments

eladcandroid picture eladcandroid  路  3Comments