Re: Low memory hacks
- From: Brian Nitz <Brian Nitz Sun COM>
- To: zuh iki fi
- Cc: "Nickolay V. Shmyrev" <nshmyrev yandex ru>, desktop-devel-list gnome org
- Subject: Re: Low memory hacks
- Date: Fri, 29 Feb 2008 13:32:07 +0000
Kalle Vahlman wrote:
2008/2/29, Nickolay V. Shmyrev <nshmyrev yandex ru>:
Heh, I also would like to delete all .po files if only I knew how to
keep translations :)
Deleting .po:s would be futile as those are just the sources from
which the actual (binary) files loaded are compiled ;)
I agree that deleting the .po files probably won't impact your physical
memory footpring.
Even so, you only have the translations of your current locale loaded
into RAM so by deleting all the others you only save disk space. AFAIK
that should be safe to do though.
This might not be entirely true. Gconf does now separate locale
specific strings into separate backend files. But fonts for all
locales tend to be loaded regardless of your base locale.
For example, launching eog in the "C" locale (Solaris Nevada build 82,
GNOME 2.20.2) opens font files for many other locales. These may be
mapped into physical memory at times, regardless of your locale. :
4302 eog 18
/usr/openwin/lib/locale/zh/X11/fonts/TrueType//fonts.cache-1
4302 eog -1
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType//fonts.cache-1
4302 eog -1
/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/75dpi//fonts.cache-1
4302 eog -1
/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ar/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/en_US.UTF-8/X11/fonts/misc//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ja/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ja/X11/fonts/TT//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ja/X11/fonts/TTbitmaps//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ko/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ko/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/th_TH/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/th_TH/X11/fonts/TrueType//fonts.cache-1
4302 eog -1
/usr/openwin/lib/locale/zh.GBK/X11/fonts/75dpi//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType//fonts.cache-1
4302 eog 18
/usr/openwin/lib/locale/zh/X11/fonts/75dpi//fonts.cache-1
This might make sense for a browser or email client, but if there is a
performance and memory impact, it would be nice to have the option to
disable loading of fonts from other locales. Some GNOME users are
running on thin client kiosks on isolated networks (banks...) where they
are unlikely to need all of these fonts.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]