Last modified: 2012-11-02 11:41:09 UTC
Language objects should use lazy initialization for messages. Currently, creating a Language object means also loading all messages for that language into memory. In some cases, e.g. with Wikibase, content in hundreds of languages needs to be shown on the same page. For each one, we want the Language object to determine the language's variants, LTR/RTL status, captialization rules, etc. But we don't need the actual messages. Currently, we can't zse the Language objects, because we run out of memory before they are all loaded.
This is a duplicate of a bug Amir recently created.
*** This bug has been marked as a duplicate of bug 41103 ***