Page MenuHomePhabricator

RevisionActionPermissions.php exhausted memory
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Fatal Error from line 87 of /srv/mediawiki/php-1.38.0-wmf.20/extensions/Flow/includes/RevisionActionPermissions.php: Allowed memory size of 698351616 bytes exhausted (tried to allocate 9437184 bytes)
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.20/extensions/Flow/includes/RevisionActionPermissions.php(87)
#0 [internal function]: MWExceptionHandler::handleFatalError()
#1 {main}
Impact

Few events starting on February 2nd 20222

Notes

This error is also mentioned in T300760: Flow (current and/or history) dumps failed on various wikis with php exhausting allowed memory although might be different/unrelated

Event Timeline

The line in the stack trace refers to a write to static variable in the code

		/** @var Workflow[] $workflows */
		static $workflows = [];

A MapCacheLRU sounds like a possible solution here