Skip to content

Very long vectors or lists can cause stack overflow #363

Description

@kkinnear

When running at the REPL, formatting a very long vector or list can result in a stack overflow. The length that causes a problem is based on the stack size of the Java version being used, so it isn't possible to give numbers for every version. In a very old version of Java, 1.8, a vector of 3000 will format correctly, while a vector of 4000 will result in a stack overflow.

You can work around this by either giving Java command line parameters which increase the stack size, or you can limit the length of a collection that is formatted by using the :max-length key in the options map.

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