Skip to content

Error on start-up: maxBuffer length exceeded #39

@dylanbr

Description

@dylanbr

This happens when I have a large untracked file in my project, in this case it's a 2.8MB openai.json file. If I add this file to .gitignore, it works with the rest of the untracked files (<250KB in total).

If there are limits to the how much data can be processed, that's fine, but a better error message would be helpful. Also, a way to increase the limit, if possible.

$ critique
error: stdout maxBuffer length exceeded

    at unknown
    at onData (node:child_process:153:110)
    at emit (node:events:95:22)
    at addChunk (internal:streams/readable:264:47)
    at readableAddChunkPushByteMode (internal:streams/readable:242:18)
    at handleArrayBufferViewResult (internal:streams/native-readable:79:16)
    at <anonymous> (internal:streams/native-readable:43:68)
    at processTicksAndRejections (native:7:39)

Run "critique --help" for usage information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions