You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've spent some time investigating memory leaks in my repo SUPERCILEX/clipboard-history#41 and have found a bunch of different caches in the egui codebase that slowly grow over time. These should all be cleared when the app is sent to the background.
I've dumped the big offenders below, but I fear they're not the root cause as re_memory isn't tracking anywhere close to the amount of memory I'm seeing with ps:
This sums up to ~11MB but in ps I see ~400MB. I'm guessing most of it is from mmap allocations, but I'm unfortunately not sure how to profile mmaps.
CountAndSize { count: 1, size: 8388608 }
at re_memory-0.21.0/src/accounting_allocator.rs:306:45
2: <re_memory::accounting_allocator::AccountingAllocator<InnerAllocator> as core::alloc::global::GlobalAlloc>::realloc
at re_memory-0.21.0/src/accounting_allocator.rs:288:9
__rust_realloc
at egui/src/main.rs:430:16
3: alloc::alloc::realloc
at alloc/src/alloc.rs:136:14
alloc::alloc::Global::grow_impl
at alloc/src/alloc.rs:225:31
<alloc::alloc::Global as core::alloc::Allocator>::grow
at alloc/src/alloc.rs:282:18
alloc::raw_vec::finish_grow
at alloc/src/raw_vec.rs:775:13
4: alloc::raw_vec::RawVecInner<A>::grow_amortized
at alloc/src/raw_vec.rs:658:19
5: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle
at alloc/src/raw_vec.rs:551:31
6: alloc::raw_vec::RawVecInner<A>::reserve
at alloc/src/raw_vec.rs:557:13
alloc::raw_vec::RawVec<T,A>::reserve
at alloc/src/raw_vec.rs:333:20
alloc::vec::Vec<T,A>::reserve
at alloc/src/vec/mod.rs:1271:18
alloc::vec::Vec<T,A>::extend_with
at alloc/src/vec/mod.rs:3130:9
alloc::vec::Vec<T,A>::resize
at alloc/src/vec/mod.rs:3008:13
epaint::texture_atlas::resize_to_min_height
at epaint/src/texture_atlas.rs:259:9
epaint::texture_atlas::TextureAtlas::allocate
at epaint/src/texture_atlas.rs:237:19
7: epaint::text::font::FontImpl::allocate_glyph::{{closure}}
at epaint/src/text/font.rs:284:46
core::option::Option<T>::map
at core/src/option.rs:1119:29
epaint::text::font::FontImpl::allocate_glyph
at epaint/src/text/font.rs:275:63
8: epaint::text::font::FontImpl::glyph_info
at epaint/src/text/font.rs:226:30
9: epaint::text::font::Font::glyph_info_no_cache_or_fallback
at epaint/src/text/font.rs:481:39
epaint::text::font::Font::glyph_info
at epaint/src/text/font.rs:455:37
10: epaint::text::font::Font::font_impl_and_glyph_info
at epaint/src/text/font.rs:466:40
epaint::text::text_layout::layout_section
at epaint/src/text/text_layout.rs:163:43
epaint::text::text_layout::layout
at epaint/src/text/text_layout.rs:91:9
11: epaint::text::fonts::GalleyCache::layout
at epaint/src/text/fonts.rs:769:30
epaint::text::fonts::FontsAndCache::layout_job
at epaint/src/text/fonts.rs:614:9
12: epaint::text::fonts::Fonts::layout_job
at epaint/src/text/fonts.rs:550:9
egui::widgets::label::Label::layout_in_ui::{{closure}}
at egui/src/widgets/label.rs:230:43
egui::context::Context::fonts::{{closure}}
at egui/src/context.rs:1023:13
egui::context::Context::write
at egui/src/context.rs:775:9
egui::context::Context::fonts
at egui/src/context.rs:1021:9
egui::ui::Ui::fonts
at egui/src/ui.rs:845:20
egui::widgets::label::Label::layout_in_ui
at egui/src/widgets/label.rs:230:29
13: <egui::widgets::label::Label as egui::widgets::Widget>::ui
at egui/src/widgets/label.rs:251:50
14: egui::ui::Ui::add
at egui/src/ui.rs:1610:9
ringboard_egui::row_ui
at egui/src/main.rs:812:22
15: ringboard_egui::entry_ui
at egui/src/main.rs:698:13
ringboard_egui::main_ui::{{closure}}
at egui/src/main.rs:666:13
egui::containers::scroll_area::ScrollArea::show::{{closure}}
at egui/src/containers/scroll_area.rs:732:61
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
16: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::scroll_area::ScrollArea::show_viewport_dyn
at egui/src/containers/scroll_area.rs:804:21
17: egui::containers::scroll_area::ScrollArea::show
at egui/src/containers/scroll_area.rs:732:9
ringboard_egui::main_ui
at egui/src/main.rs:657:28
<ringboard_egui::App as eframe::epi::App>::update::{{closure}}
at egui/src/main.rs:404:17
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
18: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::panel::CentralPanel::show_inside_dyn::{{closure}}
at egui/src/containers/panel.rs:1126:13
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
19: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::frame::Frame::show_dyn
at egui/src/containers/frame.rs:407:19
20: egui::containers::frame::Frame::show
at egui/src/containers/frame.rs:397:9
egui::containers::panel::CentralPanel::show_inside_dyn
at egui/src/containers/panel.rs:1124:15
egui::containers::panel::CentralPanel::show_dyn
at egui/src/containers/panel.rs:1156:30
egui::containers::panel::CentralPanel::show
at egui/src/containers/panel.rs:1136:9
<ringboard_egui::App as eframe::epi::App>::update
at egui/src/main.rs:403:14
21: eframe::native::epi_integration::EpiIntegration::update::{{closure}}
at eframe-0.30.0/src/native/epi_integration.rs:281:17
egui::context::Context::run
at egui/src/context.rs:830:13
eframe::native::epi_integration::EpiIntegration::update
at eframe-0.30.0/src/native/epi_integration.rs:274:27
eframe::native::glow_integration::GlowWinitRunning::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:593:13
22: <eframe::native::glow_integration::GlowWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:388:13
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event::{{closure}}
at eframe-0.30.0/src/native/run.rs:294:21
eframe::native::event_loop_context::with_event_loop_context
at eframe-0.30.0/src/native/event_loop_context.rs:53:5
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event
at eframe-0.30.0/src/native/run.rs:291:9
23: winit::event_loop::dispatch_event_for_app
at winit-0.30.7/src/event_loop.rs:642:52
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand::{{closure}}
at winit-0.30.7/src/platform/run_on_demand.rs:76:13
core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
24: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
winit::platform_impl::linux::x11::EventLoop<T>::single_iteration
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:563:17
winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:504:9
winit::platform_impl::linux::x11::EventLoop<T>::pump_events
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:424:13
winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:385:19
winit::platform_impl::linux::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/mod.rs:819:56
<winit::event_loop::EventLoop<T> as winit::platform::run_on_demand::EventLoopExtRunOnDemand>::run_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:89:25
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:75:14
eframe::native::run::run_and_return
at eframe-0.30.0/src/native/run.rs:311:16
eframe::native::run::run_glow::{{closure}}
at eframe-0.30.0/src/native/run.rs:343:13
eframe::native::run::with_event_loop::{{closure}}
at eframe-0.30.0/src/native/run.rs:63:12
std::thread::local::LocalKey<T>::try_with
at std/src/thread/local.rs:308:12
std::thread::local::LocalKey<T>::with
at std/src/thread/local.rs:272:9
eframe::native::run::with_event_loop
at eframe-0.30.0/src/native/run.rs:53:16
eframe::native::run::run_glow
at eframe-0.30.0/src/native/run.rs:341:16
25: eframe::run_native
at eframe-0.30.0/src/lib.rs:270:13
26: ringboard_egui::main
at egui/src/main.rs:58:18
27: core::ops::function::FnOnce::call_once
at core/src/ops/function.rs:250:5
std::sys::backtrace::__rust_begin_short_backtrace
at std/src/sys/backtrace.rs:152:18
28: std::rt::lang_start::{{closure}}
at std/src/rt.rs:195:18
29: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at core/src/ops/function.rs:284:13
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal::{{closure}}
at std/src/rt.rs:174:48
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal
at std/src/rt.rs:174:20
30: main
31: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
32: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
33: _start
CountAndSize { count: 1, size: 294928 }
at re_memory-0.21.0/src/accounting_allocator.rs:306:45
2: <re_memory::accounting_allocator::AccountingAllocator<InnerAllocator> as core::alloc::global::GlobalAlloc>::alloc
at re_memory-0.21.0/src/accounting_allocator.rs:253:9
__rust_alloc
at egui/src/main.rs:430:16
alloc::alloc::alloc
at alloc/src/alloc.rs:96:9
alloc::alloc::Global::alloc_impl
at alloc/src/alloc.rs:192:73
<alloc::alloc::Global as core::alloc::Allocator>::allocate
at alloc/src/alloc.rs:254:9
hashbrown::raw::alloc::inner::do_alloc
at hashbrown-0.15.2/src/raw/alloc.rs:15:15
hashbrown::raw::RawTableInner::new_uninitialized
at hashbrown-0.15.2/src/raw/mod.rs:1445:38
3: hashbrown::raw::RawTableInner::fallible_with_capacity
at hashbrown-0.15.2/src/raw/mod.rs:1484:21
hashbrown::raw::RawTableInner::prepare_resize
at hashbrown-0.15.2/src/raw/mod.rs:2551:13
hashbrown::raw::RawTableInner::resize_inner
at hashbrown-0.15.2/src/raw/mod.rs:2749:34
hashbrown::raw::RawTableInner::reserve_rehash_inner
at hashbrown-0.15.2/src/raw/mod.rs:2637:13
hashbrown::raw::RawTable<T,A>::reserve_rehash
at hashbrown-0.15.2/src/raw/mod.rs:954:13
4: hashbrown::raw::RawTable<T,A>::reserve
at hashbrown-0.15.2/src/raw/mod.rs:902:20
hashbrown::raw::RawTable<T,A>::find_or_find_insert_slot
at hashbrown-0.15.2/src/raw/mod.rs:1115:9
hashbrown::map::HashMap<K,V,S,A>::find_or_find_insert_slot
at hashbrown-0.15.2/src/map.rs:1812:9
hashbrown::map::HashMap<K,V,S,A>::insert
at hashbrown-0.15.2/src/map.rs:1792:20
std::collections::hash::map::HashMap<K,V,S>::insert
at std/src/collections/hash/map.rs:1191:9
clipboard_history_client_sdk::ui_actor::do_search
at client-sdk/src/ui_actor.rs:529:33
clipboard_history_client_sdk::ui_actor::handle_command
at client-sdk/src/ui_actor.rs:343:17
5: clipboard_history_client_sdk::ui_actor::controller
at client-sdk/src/ui_actor.rs:204:22
ringboard_egui::main::{{closure}}::{{closure}}
at egui/src/main.rs:127:21
std::sys::backtrace::__rust_begin_short_backtrace
at std/src/sys/backtrace.rs:152:18
6: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
at std/src/thread/mod.rs:564:17
<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at core/src/panic/unwind_safe.rs:272:9
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::thread::Builder::spawn_unchecked_::{{closure}}
at std/src/thread/mod.rs:562:30
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
7: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
std::sys::pal::unix::thread::Thread::new::thread_start
at std/src/sys/pal/unix/thread.rs:106:17
8: start_thread
at ./nptl/pthread_create.c:442:8
9: __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81:0
CountAndSize { count: 16, size: 143360 }
at re_memory-0.21.0/src/accounting_allocator.rs:306:45
2: <re_memory::accounting_allocator::AccountingAllocator<InnerAllocator> as core::alloc::global::GlobalAlloc>::realloc
at re_memory-0.21.0/src/accounting_allocator.rs:288:9
__rust_realloc
at egui/src/main.rs:430:16
3: alloc::alloc::realloc
at alloc/src/alloc.rs:136:14
alloc::alloc::Global::grow_impl
at alloc/src/alloc.rs:225:31
<alloc::alloc::Global as core::alloc::Allocator>::grow
at alloc/src/alloc.rs:282:18
alloc::raw_vec::finish_grow
at alloc/src/raw_vec.rs:775:13
4: alloc::raw_vec::RawVecInner<A>::grow_amortized
at alloc/src/raw_vec.rs:658:19
5: alloc::raw_vec::RawVecInner<A>::grow_one
at alloc/src/raw_vec.rs:565:27
alloc::raw_vec::RawVec<T,A>::grow_one
at alloc/src/raw_vec.rs:342:20
6: alloc::vec::Vec<T,A>::push
at alloc/src/vec/mod.rs:2422:13
epaint::text::text_layout::replace_last_glyph_with_overflow_character
epaint::text::text_layout::layout
at epaint/src/text/text_layout.rs:100:13
7: epaint::text::fonts::GalleyCache::layout
at epaint/src/text/fonts.rs:769:30
epaint::text::fonts::FontsAndCache::layout_job
at epaint/src/text/fonts.rs:614:9
8: epaint::text::fonts::Fonts::layout_job
at epaint/src/text/fonts.rs:550:9
egui::widgets::label::Label::layout_in_ui::{{closure}}
at egui/src/widgets/label.rs:230:43
egui::context::Context::fonts::{{closure}}
at egui/src/context.rs:1023:13
egui::context::Context::write
at egui/src/context.rs:775:9
egui::context::Context::fonts
at egui/src/context.rs:1021:9
egui::ui::Ui::fonts
at egui/src/ui.rs:845:20
egui::widgets::label::Label::layout_in_ui
at egui/src/widgets/label.rs:230:29
9: <egui::widgets::label::Label as egui::widgets::Widget>::ui
at egui/src/widgets/label.rs:251:50
10: egui::ui::Ui::add
at egui/src/ui.rs:1610:9
ringboard_egui::row_ui
at egui/src/main.rs:812:22
11: ringboard_egui::entry_ui
at egui/src/main.rs:698:13
ringboard_egui::main_ui::{{closure}}
at egui/src/main.rs:666:13
egui::containers::scroll_area::ScrollArea::show::{{closure}}
at egui/src/containers/scroll_area.rs:732:61
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::scroll_area::ScrollArea::show_viewport_dyn
at egui/src/containers/scroll_area.rs:804:21
13: egui::containers::scroll_area::ScrollArea::show
at egui/src/containers/scroll_area.rs:732:9
ringboard_egui::main_ui
at egui/src/main.rs:657:28
<ringboard_egui::App as eframe::epi::App>::update::{{closure}}
at egui/src/main.rs:404:17
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
14: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::panel::CentralPanel::show_inside_dyn::{{closure}}
at egui/src/containers/panel.rs:1126:13
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
15: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::frame::Frame::show_dyn
at egui/src/containers/frame.rs:407:19
16: egui::containers::frame::Frame::show
at egui/src/containers/frame.rs:397:9
egui::containers::panel::CentralPanel::show_inside_dyn
at egui/src/containers/panel.rs:1124:15
egui::containers::panel::CentralPanel::show_dyn
at egui/src/containers/panel.rs:1156:30
egui::containers::panel::CentralPanel::show
at egui/src/containers/panel.rs:1136:9
<ringboard_egui::App as eframe::epi::App>::update
at egui/src/main.rs:403:14
17: eframe::native::epi_integration::EpiIntegration::update::{{closure}}
at eframe-0.30.0/src/native/epi_integration.rs:281:17
egui::context::Context::run
at egui/src/context.rs:830:13
eframe::native::epi_integration::EpiIntegration::update
at eframe-0.30.0/src/native/epi_integration.rs:274:27
eframe::native::glow_integration::GlowWinitRunning::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:593:13
18: <eframe::native::glow_integration::GlowWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:388:13
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event::{{closure}}
at eframe-0.30.0/src/native/run.rs:294:21
eframe::native::event_loop_context::with_event_loop_context
at eframe-0.30.0/src/native/event_loop_context.rs:53:5
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event
at eframe-0.30.0/src/native/run.rs:291:9
19: winit::event_loop::dispatch_event_for_app
at winit-0.30.7/src/event_loop.rs:642:52
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand::{{closure}}
at winit-0.30.7/src/platform/run_on_demand.rs:76:13
core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
20: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
winit::platform_impl::linux::x11::EventLoop<T>::single_iteration
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:563:17
winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:504:9
winit::platform_impl::linux::x11::EventLoop<T>::pump_events
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:424:13
winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:385:19
winit::platform_impl::linux::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/mod.rs:819:56
<winit::event_loop::EventLoop<T> as winit::platform::run_on_demand::EventLoopExtRunOnDemand>::run_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:89:25
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:75:14
eframe::native::run::run_and_return
at eframe-0.30.0/src/native/run.rs:311:16
eframe::native::run::run_glow::{{closure}}
at eframe-0.30.0/src/native/run.rs:343:13
eframe::native::run::with_event_loop::{{closure}}
at eframe-0.30.0/src/native/run.rs:63:12
std::thread::local::LocalKey<T>::try_with
at std/src/thread/local.rs:308:12
std::thread::local::LocalKey<T>::with
at std/src/thread/local.rs:272:9
eframe::native::run::with_event_loop
at eframe-0.30.0/src/native/run.rs:53:16
eframe::native::run::run_glow
at eframe-0.30.0/src/native/run.rs:341:16
21: eframe::run_native
at eframe-0.30.0/src/lib.rs:270:13
22: ringboard_egui::main
at egui/src/main.rs:58:18
23: core::ops::function::FnOnce::call_once
at core/src/ops/function.rs:250:5
std::sys::backtrace::__rust_begin_short_backtrace
at std/src/sys/backtrace.rs:152:18
24: std::rt::lang_start::{{closure}}
at std/src/rt.rs:195:18
25: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at core/src/ops/function.rs:284:13
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal::{{closure}}
at std/src/rt.rs:174:48
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal
at std/src/rt.rs:174:20
26: main
27: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
28: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
29: _start
CountAndSize { count: 20, size: 108240 }
at re_memory-0.21.0/src/accounting_allocator.rs:306:45
2: <re_memory::accounting_allocator::AccountingAllocator<InnerAllocator> as core::alloc::global::GlobalAlloc>::alloc
at re_memory-0.21.0/src/accounting_allocator.rs:253:9
__rust_alloc
at egui/src/main.rs:430:16
3: alloc::raw_vec::finish_grow
4: alloc::raw_vec::RawVecInner<A>::grow_amortized
at alloc/src/raw_vec.rs:658:19
5: alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle
at alloc/src/raw_vec.rs:551:31
6: alloc::raw_vec::RawVecInner<A>::reserve
at alloc/src/raw_vec.rs:557:13
alloc::raw_vec::RawVec<T,A>::reserve
at alloc/src/raw_vec.rs:333:20
alloc::vec::Vec<T,A>::reserve
at alloc/src/vec/mod.rs:1271:18
epaint::mesh::Mesh::reserve_vertices
at epaint/src/mesh.rs:178:9
epaint::text::text_layout::tessellate_row
at epaint/src/text/text_layout.rs:715:10
epaint::text::text_layout::galley_from_rows
at epaint/src/text/text_layout.rs:643:23
epaint::text::text_layout::layout
at epaint/src/text/text_layout.rs:125:5
7: epaint::text::fonts::GalleyCache::layout
at epaint/src/text/fonts.rs:769:30
epaint::text::fonts::FontsAndCache::layout_job
at epaint/src/text/fonts.rs:614:9
8: epaint::text::fonts::Fonts::layout_job
at epaint/src/text/fonts.rs:550:9
egui::widgets::label::Label::layout_in_ui::{{closure}}
at egui/src/widgets/label.rs:230:43
egui::context::Context::fonts::{{closure}}
at egui/src/context.rs:1023:13
egui::context::Context::write
at egui/src/context.rs:775:9
egui::context::Context::fonts
at egui/src/context.rs:1021:9
egui::ui::Ui::fonts
at egui/src/ui.rs:845:20
egui::widgets::label::Label::layout_in_ui
at egui/src/widgets/label.rs:230:29
9: <egui::widgets::label::Label as egui::widgets::Widget>::ui
at egui/src/widgets/label.rs:251:50
10: egui::ui::Ui::add
at egui/src/ui.rs:1610:9
ringboard_egui::row_ui
at egui/src/main.rs:812:22
11: ringboard_egui::entry_ui
at egui/src/main.rs:698:13
ringboard_egui::main_ui::{{closure}}
at egui/src/main.rs:666:13
egui::containers::scroll_area::ScrollArea::show::{{closure}}
at egui/src/containers/scroll_area.rs:732:61
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::scroll_area::ScrollArea::show_viewport_dyn
at egui/src/containers/scroll_area.rs:804:21
13: egui::containers::scroll_area::ScrollArea::show
at egui/src/containers/scroll_area.rs:732:9
ringboard_egui::main_ui
at egui/src/main.rs:657:28
<ringboard_egui::App as eframe::epi::App>::update::{{closure}}
at egui/src/main.rs:404:17
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
14: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::panel::CentralPanel::show_inside_dyn::{{closure}}
at egui/src/containers/panel.rs:1126:13
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
15: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::frame::Frame::show_dyn
at egui/src/containers/frame.rs:407:19
16: egui::containers::frame::Frame::show
at egui/src/containers/frame.rs:397:9
egui::containers::panel::CentralPanel::show_inside_dyn
at egui/src/containers/panel.rs:1124:15
egui::containers::panel::CentralPanel::show_dyn
at egui/src/containers/panel.rs:1156:30
egui::containers::panel::CentralPanel::show
at egui/src/containers/panel.rs:1136:9
<ringboard_egui::App as eframe::epi::App>::update
at egui/src/main.rs:403:14
17: eframe::native::epi_integration::EpiIntegration::update::{{closure}}
at eframe-0.30.0/src/native/epi_integration.rs:281:17
egui::context::Context::run
at egui/src/context.rs:830:13
eframe::native::epi_integration::EpiIntegration::update
at eframe-0.30.0/src/native/epi_integration.rs:274:27
eframe::native::glow_integration::GlowWinitRunning::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:593:13
18: <eframe::native::glow_integration::GlowWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:388:13
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event::{{closure}}
at eframe-0.30.0/src/native/run.rs:294:21
eframe::native::event_loop_context::with_event_loop_context
at eframe-0.30.0/src/native/event_loop_context.rs:53:5
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event
at eframe-0.30.0/src/native/run.rs:291:9
19: winit::event_loop::dispatch_event_for_app
at winit-0.30.7/src/event_loop.rs:642:52
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand::{{closure}}
at winit-0.30.7/src/platform/run_on_demand.rs:76:13
core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
20: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
winit::platform_impl::linux::x11::EventLoop<T>::single_iteration
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:563:17
winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:504:9
winit::platform_impl::linux::x11::EventLoop<T>::pump_events
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:424:13
winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:385:19
winit::platform_impl::linux::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/mod.rs:819:56
<winit::event_loop::EventLoop<T> as winit::platform::run_on_demand::EventLoopExtRunOnDemand>::run_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:89:25
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:75:14
eframe::native::run::run_and_return
at eframe-0.30.0/src/native/run.rs:311:16
eframe::native::run::run_glow::{{closure}}
at eframe-0.30.0/src/native/run.rs:343:13
eframe::native::run::with_event_loop::{{closure}}
at eframe-0.30.0/src/native/run.rs:63:12
std::thread::local::LocalKey<T>::try_with
at std/src/thread/local.rs:308:12
std::thread::local::LocalKey<T>::with
at std/src/thread/local.rs:272:9
eframe::native::run::with_event_loop
at eframe-0.30.0/src/native/run.rs:53:16
eframe::native::run::run_glow
at eframe-0.30.0/src/native/run.rs:341:16
21: eframe::run_native
at eframe-0.30.0/src/lib.rs:270:13
22: ringboard_egui::main
at egui/src/main.rs:58:18
23: core::ops::function::FnOnce::call_once
at core/src/ops/function.rs:250:5
std::sys::backtrace::__rust_begin_short_backtrace
at std/src/sys/backtrace.rs:152:18
24: std::rt::lang_start::{{closure}}
at std/src/rt.rs:195:18
25: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at core/src/ops/function.rs:284:13
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal::{{closure}}
at std/src/rt.rs:174:48
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal
at std/src/rt.rs:174:20
26: main
27: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
28: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
29: _start
CountAndSize { count: 1, size: 82960 }
at re_memory-0.21.0/src/accounting_allocator.rs:306:45
2: <re_memory::accounting_allocator::AccountingAllocator<InnerAllocator> as core::alloc::global::GlobalAlloc>::alloc
at re_memory-0.21.0/src/accounting_allocator.rs:253:9
__rust_alloc
at egui/src/main.rs:430:16
3: alloc::alloc::alloc
at alloc/src/alloc.rs:96:9
alloc::alloc::Global::alloc_impl
at alloc/src/alloc.rs:192:73
<alloc::alloc::Global as core::alloc::Allocator>::allocate
at alloc/src/alloc.rs:254:9
hashbrown::raw::alloc::inner::do_alloc
at hashbrown-0.15.2/src/raw/alloc.rs:15:15
hashbrown::raw::RawTableInner::new_uninitialized
at hashbrown-0.15.2/src/raw/mod.rs:1445:38
hashbrown::raw::RawTableInner::fallible_with_capacity
at hashbrown-0.15.2/src/raw/mod.rs:1484:21
hashbrown::raw::RawTableInner::prepare_resize
at hashbrown-0.15.2/src/raw/mod.rs:2551:13
hashbrown::raw::RawTableInner::resize_inner
at hashbrown-0.15.2/src/raw/mod.rs:2749:34
hashbrown::raw::RawTableInner::reserve_rehash_inner
at hashbrown-0.15.2/src/raw/mod.rs:2637:13
hashbrown::raw::RawTable<T,A>::reserve_rehash
at hashbrown-0.15.2/src/raw/mod.rs:954:13
4: hashbrown::raw::RawTable<T,A>::reserve
at hashbrown-0.15.2/src/raw/mod.rs:902:20
hashbrown::map::HashMap<K,V,S,A>::reserve
at hashbrown-0.15.2/src/map.rs:1104:9
hashbrown::rustc_entry::<impl hashbrown::map::HashMap<K,V,S,A>>::rustc_entry
at hashbrown-0.15.2/src/rustc_entry.rs:45:18
std::collections::hash::map::HashMap<K,V,S>::entry
at std/src/collections/hash/map.rs:876:19
egui::widget_rect::WidgetRects::insert
at egui/src/widget_rect.rs:151:21
5: egui::context::Context::create_widget::{{closure}}
at egui/src/context.rs:1165:13
egui::context::Context::write
at egui/src/context.rs:775:9
egui::context::Context::create_widget
at egui/src/context.rs:1159:9
6: egui::ui::Ui::new_child
at egui/src/ui.rs:326:9
7: egui::containers::frame::Frame::begin
at egui/src/containers/frame.rs:382:26
8: ringboard_egui::row_ui
at egui/src/main.rs:811:21
9: ringboard_egui::entry_ui
at egui/src/main.rs:698:13
ringboard_egui::main_ui::{{closure}}
at egui/src/main.rs:666:13
egui::containers::scroll_area::ScrollArea::show::{{closure}}
at egui/src/containers/scroll_area.rs:732:61
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::scroll_area::ScrollArea::show_viewport_dyn
at egui/src/containers/scroll_area.rs:804:21
11: egui::containers::scroll_area::ScrollArea::show
at egui/src/containers/scroll_area.rs:732:9
ringboard_egui::main_ui
at egui/src/main.rs:657:28
<ringboard_egui::App as eframe::epi::App>::update::{{closure}}
at egui/src/main.rs:404:17
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::panel::CentralPanel::show_inside_dyn::{{closure}}
at egui/src/containers/panel.rs:1126:13
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
13: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::frame::Frame::show_dyn
at egui/src/containers/frame.rs:407:19
14: egui::containers::frame::Frame::show
at egui/src/containers/frame.rs:397:9
egui::containers::panel::CentralPanel::show_inside_dyn
at egui/src/containers/panel.rs:1124:15
egui::containers::panel::CentralPanel::show_dyn
at egui/src/containers/panel.rs:1156:30
egui::containers::panel::CentralPanel::show
at egui/src/containers/panel.rs:1136:9
<ringboard_egui::App as eframe::epi::App>::update
at egui/src/main.rs:403:14
15: eframe::native::epi_integration::EpiIntegration::update::{{closure}}
at eframe-0.30.0/src/native/epi_integration.rs:281:17
egui::context::Context::run
at egui/src/context.rs:830:13
eframe::native::epi_integration::EpiIntegration::update
at eframe-0.30.0/src/native/epi_integration.rs:274:27
eframe::native::glow_integration::GlowWinitRunning::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:593:13
16: <eframe::native::glow_integration::GlowWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:388:13
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event::{{closure}}
at eframe-0.30.0/src/native/run.rs:294:21
eframe::native::event_loop_context::with_event_loop_context
at eframe-0.30.0/src/native/event_loop_context.rs:53:5
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event
at eframe-0.30.0/src/native/run.rs:291:9
17: winit::event_loop::dispatch_event_for_app
at winit-0.30.7/src/event_loop.rs:642:52
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand::{{closure}}
at winit-0.30.7/src/platform/run_on_demand.rs:76:13
core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
winit::platform_impl::linux::x11::EventLoop<T>::single_iteration
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:563:17
winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:504:9
winit::platform_impl::linux::x11::EventLoop<T>::pump_events
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:424:13
winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:385:19
winit::platform_impl::linux::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/mod.rs:819:56
<winit::event_loop::EventLoop<T> as winit::platform::run_on_demand::EventLoopExtRunOnDemand>::run_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:89:25
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:75:14
eframe::native::run::run_and_return
at eframe-0.30.0/src/native/run.rs:311:16
eframe::native::run::run_glow::{{closure}}
at eframe-0.30.0/src/native/run.rs:343:13
eframe::native::run::with_event_loop::{{closure}}
at eframe-0.30.0/src/native/run.rs:63:12
std::thread::local::LocalKey<T>::try_with
at std/src/thread/local.rs:308:12
std::thread::local::LocalKey<T>::with
at std/src/thread/local.rs:272:9
eframe::native::run::with_event_loop
at eframe-0.30.0/src/native/run.rs:53:16
eframe::native::run::run_glow
at eframe-0.30.0/src/native/run.rs:341:16
19: eframe::run_native
at eframe-0.30.0/src/lib.rs:270:13
20: ringboard_egui::main
at egui/src/main.rs:58:18
21: core::ops::function::FnOnce::call_once
at core/src/ops/function.rs:250:5
std::sys::backtrace::__rust_begin_short_backtrace
at std/src/sys/backtrace.rs:152:18
22: std::rt::lang_start::{{closure}}
at std/src/rt.rs:195:18
23: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at core/src/ops/function.rs:284:13
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal::{{closure}}
at std/src/rt.rs:174:48
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal
at std/src/rt.rs:174:20
24: main
25: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
26: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
27: _start
CountAndSize { count: 1, size: 82960 }
at re_memory-0.21.0/src/accounting_allocator.rs:306:45
2: <re_memory::accounting_allocator::AccountingAllocator<InnerAllocator> as core::alloc::global::GlobalAlloc>::alloc
at re_memory-0.21.0/src/accounting_allocator.rs:253:9
__rust_alloc
at egui/src/main.rs:430:16
3: alloc::alloc::alloc
at alloc/src/alloc.rs:96:9
alloc::alloc::Global::alloc_impl
at alloc/src/alloc.rs:192:73
<alloc::alloc::Global as core::alloc::Allocator>::allocate
at alloc/src/alloc.rs:254:9
hashbrown::raw::alloc::inner::do_alloc
at hashbrown-0.15.2/src/raw/alloc.rs:15:15
hashbrown::raw::RawTableInner::new_uninitialized
at hashbrown-0.15.2/src/raw/mod.rs:1445:38
hashbrown::raw::RawTableInner::fallible_with_capacity
at hashbrown-0.15.2/src/raw/mod.rs:1484:21
hashbrown::raw::RawTableInner::prepare_resize
at hashbrown-0.15.2/src/raw/mod.rs:2551:13
hashbrown::raw::RawTableInner::resize_inner
at hashbrown-0.15.2/src/raw/mod.rs:2749:34
hashbrown::raw::RawTableInner::reserve_rehash_inner
at hashbrown-0.15.2/src/raw/mod.rs:2637:13
hashbrown::raw::RawTable<T,A>::reserve_rehash
at hashbrown-0.15.2/src/raw/mod.rs:954:13
4: hashbrown::raw::RawTable<T,A>::reserve
at hashbrown-0.15.2/src/raw/mod.rs:902:20
hashbrown::map::HashMap<K,V,S,A>::reserve
at hashbrown-0.15.2/src/map.rs:1104:9
hashbrown::rustc_entry::<impl hashbrown::map::HashMap<K,V,S,A>>::rustc_entry
at hashbrown-0.15.2/src/rustc_entry.rs:45:18
std::collections::hash::map::HashMap<K,V,S>::entry
at std/src/collections/hash/map.rs:876:19
egui::widget_rect::WidgetRects::insert
at egui/src/widget_rect.rs:151:21
5: egui::context::Context::create_widget::{{closure}}
at egui/src/context.rs:1165:13
egui::context::Context::write
at egui/src/context.rs:775:9
egui::context::Context::create_widget
at egui/src/context.rs:1159:9
6: egui::ui::Ui::interact
at egui/src/ui.rs:1061:9
egui::ui::Ui::allocate_rect
at egui/src/ui.rs:1309:9
7: ringboard_egui::row_ui
at egui/src/main.rs:816:20
8: ringboard_egui::entry_ui
at egui/src/main.rs:698:13
ringboard_egui::main_ui::{{closure}}
at egui/src/main.rs:666:13
egui::containers::scroll_area::ScrollArea::show::{{closure}}
at egui/src/containers/scroll_area.rs:732:61
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::scroll_area::ScrollArea::show_viewport_dyn
at egui/src/containers/scroll_area.rs:804:21
10: egui::containers::scroll_area::ScrollArea::show
at egui/src/containers/scroll_area.rs:732:9
ringboard_egui::main_ui
at egui/src/main.rs:657:28
<ringboard_egui::App as eframe::epi::App>::update::{{closure}}
at egui/src/main.rs:404:17
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
11: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::panel::CentralPanel::show_inside_dyn::{{closure}}
at egui/src/containers/panel.rs:1126:13
core::ops::function::FnOnce::call_once{{vtable.shim}}
at core/src/ops/function.rs:250:5
12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at alloc/src/boxed.rs:1990:9
egui::containers::frame::Frame::show_dyn
at egui/src/containers/frame.rs:407:19
13: egui::containers::frame::Frame::show
at egui/src/containers/frame.rs:397:9
egui::containers::panel::CentralPanel::show_inside_dyn
at egui/src/containers/panel.rs:1124:15
egui::containers::panel::CentralPanel::show_dyn
at egui/src/containers/panel.rs:1156:30
egui::containers::panel::CentralPanel::show
at egui/src/containers/panel.rs:1136:9
<ringboard_egui::App as eframe::epi::App>::update
at egui/src/main.rs:403:14
14: eframe::native::epi_integration::EpiIntegration::update::{{closure}}
at eframe-0.30.0/src/native/epi_integration.rs:281:17
egui::context::Context::run
at egui/src/context.rs:830:13
eframe::native::epi_integration::EpiIntegration::update
at eframe-0.30.0/src/native/epi_integration.rs:274:27
eframe::native::glow_integration::GlowWinitRunning::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:593:13
15: <eframe::native::glow_integration::GlowWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint
at eframe-0.30.0/src/native/glow_integration.rs:388:13
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event::{{closure}}
at eframe-0.30.0/src/native/run.rs:294:21
eframe::native::event_loop_context::with_event_loop_context
at eframe-0.30.0/src/native/event_loop_context.rs:53:5
<eframe::native::run::WinitAppWrapper<T> as winit::application::ApplicationHandler<eframe::native::winit_integration::UserEvent>>::window_event
at eframe-0.30.0/src/native/run.rs:291:9
16: winit::event_loop::dispatch_event_for_app
at winit-0.30.7/src/event_loop.rs:642:52
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand::{{closure}}
at winit-0.30.7/src/platform/run_on_demand.rs:76:13
core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
17: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at core/src/ops/function.rs:294:13
winit::platform_impl::linux::x11::EventLoop<T>::single_iteration
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:563:17
winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:504:9
winit::platform_impl::linux::x11::EventLoop<T>::pump_events
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:424:13
winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/x11/mod.rs:385:19
winit::platform_impl::linux::EventLoop<T>::run_on_demand
at winit-0.30.7/src/platform_impl/linux/mod.rs:819:56
<winit::event_loop::EventLoop<T> as winit::platform::run_on_demand::EventLoopExtRunOnDemand>::run_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:89:25
winit::platform::run_on_demand::EventLoopExtRunOnDemand::run_app_on_demand
at winit-0.30.7/src/platform/run_on_demand.rs:75:14
eframe::native::run::run_and_return
at eframe-0.30.0/src/native/run.rs:311:16
eframe::native::run::run_glow::{{closure}}
at eframe-0.30.0/src/native/run.rs:343:13
eframe::native::run::with_event_loop::{{closure}}
at eframe-0.30.0/src/native/run.rs:63:12
std::thread::local::LocalKey<T>::try_with
at std/src/thread/local.rs:308:12
std::thread::local::LocalKey<T>::with
at std/src/thread/local.rs:272:9
eframe::native::run::with_event_loop
at eframe-0.30.0/src/native/run.rs:53:16
eframe::native::run::run_glow
at eframe-0.30.0/src/native/run.rs:341:16
18: eframe::run_native
at eframe-0.30.0/src/lib.rs:270:13
19: ringboard_egui::main
at egui/src/main.rs:58:18
20: core::ops::function::FnOnce::call_once
at core/src/ops/function.rs:250:5
std::sys::backtrace::__rust_begin_short_backtrace
at std/src/sys/backtrace.rs:152:18
21: std::rt::lang_start::{{closure}}
at std/src/rt.rs:195:18
22: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at core/src/ops/function.rs:284:13
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal::{{closure}}
at std/src/rt.rs:174:48
std::panicking::try::do_call
at std/src/panicking.rs:568:40
std::panicking::try
at std/src/panicking.rs:531:19
std::panic::catch_unwind
at std/src/panic.rs:358:14
std::rt::lang_start_internal
at std/src/rt.rs:174:20
23: main
24: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
25: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
26: _start
The text was updated successfully, but these errors were encountered:
I've spent some time investigating memory leaks in my repo SUPERCILEX/clipboard-history#41 and have found a bunch of different caches in the egui codebase that slowly grow over time. These should all be cleared when the app is sent to the background.
I've dumped the big offenders below, but I fear they're not the root cause as re_memory isn't tracking anywhere close to the amount of memory I'm seeing with
ps
:This sums up to ~11MB but in
ps
I see ~400MB. I'm guessing most of it is from mmap allocations, but I'm unfortunately not sure how to profile mmaps.The text was updated successfully, but these errors were encountered: