Skip to content

Fish eats memory with huge slices #4127

@faho

Description

@faho

While trying to solve #826, one of the things I ended up testing was a huge slice.

It turns out that

echo $a[1..11111152323232222]

will eat all your memory, even with $a undefined.

Metadata

Metadata

Assignees

Labels

bugSomething that's not working as intended

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions