[CentOS] High memory needs [SOLVED]

Leon Fauster leonfauster at googlemail.com
Fri Sep 28 11:58:52 EDT 2012


Am 28.09.2012 um 16:10 schrieb Jérémie Dubois-Lacoste:
> The solution that worked for us is a post-install fix that consists of
> removing all languages that we don't use.  We checked with "locale"
> which languages are used on the system. Then we remove all the others:
> $ localedef --list-archive | grep -v -e "en_US" -e "de_DE" -e "en_GB"
> | xargs localedef --delete-from-archive
> $ mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
> $ build-locale-archive
> After this, the size of the locale-archive file is ~4MB, and running a
> single Bash instance does not show "107MB" for SGE anymore :-) Et voilà!


thank you for this explanation 

did you test something like this?

ls -al /usr/lib/locale/locale-archive 
lrwxrwxrwx 1 root root 9 Sep  3 12:35 /usr/lib/locale/locale-archive -> /dev/null

--
LF




More information about the CentOS mailing list