Every bonobo using app allocates 100 kb of memory in bonobo_activation_i18n_get_language_list. It is loading the entire locale.alias file, and checking for aliases of $LANG. We could avoid this by hard coding some common locales for which we would not look them up.

Also, there is g_get_language_names() in glib. Maybe we can use this instead. See this thread on gtk-devel-list for the discussion.

See gnomebug:168948 for a patch.

This code has now been fixed to use g_get_language_names(). Hopefully this fixes the memory use.

Initiatives/MemoryReduction/Tasks/MakeBonoboNotLoadLocaleDotAlias (last edited 2013-11-22 21:16:20 by WilliamJonMcCann)