https://bugzilla.wikimedia.org/show_bug.cgi?id=40238

Daniel Kinzler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Daniel Kinzler <[email protected]> 2012-10-17 
10:04:59 UTC ---
Reverting the above change (revert is I19fe52d0) because the proposed solution
causes us to run out of memory.

Constructing a Language object for each language loads all the messages for
every language and causes an out of memory error on pages with a non-trivial
number of sitelinks. Each language seems to require about 500KB of memory.

We need a lightweight way to get the names and directionality of all languages,
without loading all the messages. Lazy initialization of the Language object
could help. Of there could be a LanguageInfo interface for stuff like name and
directionality.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to