Memory leaks when desktop files are added/removed
When Desktop files are being added or removed we see significant sustained growth in the size of gnome-shell
.
Using Google Heap Profiler I have identified two main leaks:
-
enumerate_children_async_thread
->_g_local_file_enumerator_new
->opendir
-
<unknown JavaScript>
->g_object_new_with_properties
->g_object_new_with_custom_constructor
->clutter_actor_constructor
->g_object_constructor
->g_type_create_instance
(likelyStWidget
but maybe not) ->g_slice_alloc0
->g_slice_alloc
->g_malloc
But I have so far not been able to identify how to fix them.
Detailed heap profile deltas from repeated writes to ~/Desktop/*
after gnome-shell
has started up:
Edited by Daniel van Vugt