# rope: Prevent stack overflows by bumping rayon stack sizes \(\#41397\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/360074effbab6c16af40f87095911856ce9658d7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 360074effbab6c16af40f87095911856ce9658d7

Requested commit: 360074effbab6c16af40f87095911856ce9658d7

Commit: 360074effbab6c16af40f87095911856ce9658d7

Tree: 5920038ac510e50f71073d221f89e9ae3e6a9a51

Author: Lukas Wirth

Committer: GitHub

## Message

```
rope: Prevent stack overflows by bumping rayon stack sizes (#41397)

Thread stacks in rust by default have 2 megabytes of stack which for
sumtrees (or ropes in this case) can easily be exceeded depending on the
workload.

Release Notes:

- Fixed stack overflows when constructing large ropes
```

## Parents

- [b1922b7156e80d95f872953dbd930974c6d4f34e](https://git.cafe/gitcafe/zed/commit/b1922b7156e80d95f872953dbd930974c6d4f34e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/360074effbab6c16af40f87095911856ce9658d7?format=markdown)
