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

--- Comment #3 from Brion Vibber <[email protected]> 2011-06-23 17:53:23 UTC 
---
Heh... looks like getMemoryBreakdown() attempts to estimate size of various
objects by running them through serialization. This apparently fails in
exciting ways with the PDO objects used by DatabaseSQLite, whereas I guess the
MySQL resources we use get "serialized" without error.

This gets called apparently between every 100 tests if we see that we've used
up 90% of an arbitrary 50MB soft memory limit.

So... if it's getting called, it would already have been on the way to throwing
an exception anyway (which would come with the approx memory breakdown).

Probably needs a fix to getMemoryBreakdown to not die on unserializable things,
so it at least sends through the rest of the data, but it's still apparently
hitting that limit as reported by memory_get_usage(true).

-- 
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