locale-safe check if we have enough memory installed
Merge pull request #168 from hjjg/feature-localehandling1

locale-safe check if we have enough memory installed