# Log if element arena allocation is \>80% · gitcafe/zed

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

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

Visibility: public

Requested revision: 18f5752f0473b3542989e57cfb427dcee38a5e02

Requested commit: 18f5752f0473b3542989e57cfb427dcee38a5e02

Commit: 18f5752f0473b3542989e57cfb427dcee38a5e02

Tree: c3f9dccdc6bcbef2e991139c7b0ab39c414bc735

Author: Thorsten Ball

Committer: Thorsten Ball

## Message

```
Log if element arena allocation is >80%

We recently doubled the size of the `ELEMENT_ARENA` after someone ran
into a panic due to the arena running out of space.

This adds some logging so that we can hopefully develop a better
understanding of when the element area's allocation is elevated.

Co-authored-by: Antonio <antonio@zed.dev>

```

## Parents

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

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