Skip to content

node js script exits when input is large #28319

@ayrat555

Description

@ayrat555

node v11.6.0
Linux 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I have a node js script with custom arguments. When I pass a string argument with size larger than 170_000 node js returns an empty string with exit status 7. The script is not even started

system limit

getconf ARG_MAX      
2097152

Metadata

Metadata

Assignees

No one assigned

    Labels

    linuxIssues and PRs related to the Linux platform.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions