Page MenuHomePhabricator

Pages that hit memory limit should fail gracefully
Closed, ResolvedPublic

Description

It's impossible to access to this page, an error server access is displayed.

PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/parser/Parser.php line 4263:
Allowed memory size of 83886080 bytes exhausted (tried to allocate 65536 bytes)


Version: unspecified
Severity: major
URL: http://fr.wikipedia.org/wiki/Projet:Bande_dessinée/Liste_des_articles

Details

Reference
bz14956

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:10 PM
bzimport set Reference to bz14956.
bzimport added a subscriber: Unknown Object (MLST).

The page is simply too large to fit into the maximum amount of memory that is allowed. It contains 4428 transclusions of {{Article simple}}. I would reduce that and split the page up somehow. It can still be edited: http://fr.wikipedia.org/wiki/Projet:Bande_dessin%C3%A9e/Liste_des_articles?action=edit

Suggesting to close this issue as "WONTFIX".

We should handle such conditions gracefully -- total script failure due to exhaustion of resource limits may seem merely annoying for an individual page view, but could completely break batch operations.

  • Bug 14103 has been marked as a duplicate of this bug. ***
  • Bug 13565 has been marked as a duplicate of this bug. ***

I had a similar issue when importing the 'Barack Obama' article and all its dependencies from enwiki to a fresh wiki. The Special:Import shows a blank page :)

I am wondering if we could use PHP register_shutdown_function() to try to finish up the rendering. Probably unlikely since we are out of memory :(

  • Bug 39110 has been marked as a duplicate of this bug. ***
Aklapper edited subscribers, added: Aklapper; removed: wikibugs-l-list.

There is a more "graceful" error message nowadays.