Increase capacity of element arena to 8MB
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.
This commit is contained in:
parent
c0b9f0a950
commit
b640e0e7af
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ slotmap::new_key_type! {
|
|||
}
|
||||
|
||||
thread_local! {
|
||||
pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(4 * 1024 * 1024));
|
||||
pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(8 * 1024 * 1024));
|
||||
}
|
||||
|
||||
impl FocusId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue