locale-safe check if we have enough memory installed

I did not test the whole setup with German locales yet, but I did test if you would need this fix. This works nice on my box.