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:
parent
779f67506a
commit
0fce20d8da
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue