splittingred / getFeed

A simple snippet to retrieve an RSS feed and iterate the feed items using a Chunk.
http://svn.modxcms.com/docs/display/ADDON/getFeed
7 stars 6 forks source link

getFeed causes XPDO cache to go nuts and some other things... #11

Open SebastienDaniel opened 13 years ago

SebastienDaniel commented 13 years ago

The following error messages were all caused by getFeed (we documented the whole issue and attempts to resolve it, but its in a private forum ...) Here are the error messages:

Receiving the following error messages (alternately)

  1. Fatal error: Out of memory (allocated 11796480) (tried to allocate 40961 bytes) in /home/sebweb/sebweb-modx-core/model/modx/modscript.class.php on line 48 (related to XPDO)

  2. Fatal error: Out of memory (allocated 11796480) (tried to allocate 55125 bytes) in /home/sebweb/sebweb-modx-core/xpdo/cache/xpdocachemanager.class.php on line 925

  3. When logged into the MODx manager, if I "save" a resource or an element, the website becomes accessible and loads without issue. As soon as the home page is "requested" a second time, I get the following error message:

Fatal error: Out of memory (allocated 11796480) (tried to allocate 40961 bytes) in /home/sebweb/sebweb-modx-core/model/modx/modscript.class.php on line 48

  1. If I attempt further "refreshing of the home page, I get the following error message:

Fatal error: Out of memory (allocated 11796480) (tried to allocate 14332 bytes) in /home/sebweb/sebweb-modx-core/model/modx/modparser.class.php on line 87

5. When logged into the MODx manager, I can navigate the website (with the same browser) with absolutely no issues. No error messages, no page crashing, everything works perfectly.