Skip to content

Very long command string: wrong error message "219kB exceeds 2MB" #6800

@mhansen

Description

@mhansen

Just pulled fish from master: fish, version 3.1.0-424-gd0bedf3bb. uname -a is Linux markhansen 5.2.17-1rodete3-amd64 #1 SMP Debian 5.2.17-1rodete3 (2019-10-21 > 2018) x86_64 GNU/Linux

I'm running inside tmux with $TERM screen-256color, but I don't think that matters here.

I run a very long command (confidential work command, can't paste here, will try to get an obfuscated version that has the same error). And I get this error:

Failed to execute process '<redacted>'. Reason:
The total size of the argument and environment lists 219kB exceeds the operating system limit of 2MB.
Try running the command again with fewer arguments.

Running the command with fewer arguments is helpful, but saying that 219kB exceeds 2MB is incorrect (219kB < 2MB).

My guess is perhaps I have too many arguments, or one of the arguments is too long, rather than the total being too long.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions