Skip to content

Javascript heap out of memory #262

Closed
@JohnGalt1717

Description

@JohnGalt1717

See here: PatrickJS/PatrickJS-starter#1498

There are multiple reports of this but it comes down to the following changes to fix this:

Add --max_old_space_size=4096 to the node commands in the .csproj

update the following in the package.json:

"build:dev": "npm run webpack -- --progress --color",
"build:aot": "npm run webpack -- --env.aot --env.client & npm run webpack --env.aot --env.server",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions