More element arena (#11258)

Co-Authored-By: Mikayla <mikayla@zed.dev>

My Zed was running out with collab + chat + recent projects + two splits
on a large monitor


Release Notes:

- N/A

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Conrad IrwinandMikayla authored and GitHub committed 2024-05-01 12:00:27 -06:00
1 parent 9f66142410
commit b4447482c3
1 file changed
+2 -1
+2 -1
View File
@@ -95,7 +95,8 @@ slotmap::new_key_type! {
}
thread_local! {
pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(8 * 1024 * 1024));
/// 8MB wasn't quite enough...
pub(crate) static ELEMENT_ARENA: RefCell<Arena> = RefCell::new(Arena::new(32 * 1024 * 1024));
}
impl FocusId {