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

--- Comment #6 from [email protected] 2012-10-15 15:09:46 UTC ---
It doesn't really seem to leak in the ApiSetItem::modifyEntity and that should
be the place where it should be leaking the most. That is, this call
encapsulates most of the expensive calls. In all it seems like the first of the
troublesome API-calls listed in the first post cost about 2MB. In the outer
execute method in ApiModifyEntity there is the lines 227-233

// Do the actual save, or if it don't exist yet create it.
// There will be exceptions but we just leak them out ;)
$status = $editEntity->attemptSave(
    Autocomment::formatTotalSummary( $comment, $summary, $lang ),
    $this->flags,
    ( $this->needsToken() ? $params['token'] : false )
);

and those eats about 15-16MB.

Note that my setup, and also the test repo, are using the Apache MPM Prefork
model.

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