Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Spawn webpack process with custom --max_old_space_size #430

Open
@jfturcot

Description

@jfturcot

Would it be possible for you to add to following to compiler.js:

--max_old_space_size=4096

I am building a very large Nativescript app and AOT was just refusing to build, I was always throwing the javascript memory heap error. Adding that to the args in compiler.js fixed it for me.

nativescript-dev-typescript has already added that line to the node args in compiler.js, I guess that it shouldn't be a problem adding it here also if no one ever complained about memory issues with nativescript-dev-typescript.

Thanks! :)

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