# Increase capacity of element arena to 8MB \(\#4244\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bd6197eb2f944bbb750f8710909b4e44ee399ea5

Requested commit: bd6197eb2f944bbb750f8710909b4e44ee399ea5

Commit: bd6197eb2f944bbb750f8710909b4e44ee399ea5

Tree: 45e32d28bcca431fa371f74924fb8f7b6c345f82

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Increase capacity of element arena to 8MB (#4244)

This fixes a panic we just saw on nightly. It's the first time we see
this panic, so I think it's pretty safe to assume having twice as much
capacity will fix it.

Release Notes:

- Fixed a crash that could sometimes occur when the window contained
lots of graphical elements.
```

## Parents

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

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

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