I snipped this from the terminal screen when I was running runjobs.php Seems I have a memory issue & I,m not sure what I need to do to fix it. System has 8Gb of ram so I don't think that is the problem. Perhaps a setting in PHP or Mediawiki 1.17. Any tips? frosty ---------------------------------- 2011-12-09 05:49:15 refreshLinks2 Template:As_of start= end= t=19954 good 2011-12-09 05:49:17 refreshLinks2 Template:Bot start= end= t=1968 good PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1221613 bytes) in /home/frosty/mediawiki-1.17.0/includes/parser/Parser.php on line 393
On Fri, Dec 9, 2011 at 10:36 AM, John W. Foster jfoster81747@gmail.com wrote:
I snipped this from the terminal screen when I was running runjobs.php Seems I have a memory issue & I,m not sure what I need to do to fix it. System has 8Gb of ram so I don't think that is the problem. Perhaps a setting in PHP or Mediawiki 1.17. Any tips? frosty
2011-12-09 05:49:15 refreshLinks2 Template:As_of start= end= t=19954 good 2011-12-09 05:49:17 refreshLinks2 Template:Bot start= end= t=1968 good PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1221613 bytes) in /home/frosty/mediawiki-1.17.0/includes/parser/Parser.php on line 393
Try raising php's memory limit--see your php.ini for memory_limit--and see if that helps (you'll have to restart Apache).
-Chad
On Fri, 2011-12-09 at 10:59 -0500, Chad wrote:
On Fri, Dec 9, 2011 at 10:36 AM, John W. Foster jfoster81747@gmail.com wrote:
I snipped this from the terminal screen when I was running runjobs.php Seems I have a memory issue & I,m not sure what I need to do to fix it. System has 8Gb of ram so I don't think that is the problem. Perhaps a setting in PHP or Mediawiki 1.17. Any tips? frosty
2011-12-09 05:49:15 refreshLinks2 Template:As_of start= end= t=19954 good 2011-12-09 05:49:17 refreshLinks2 Template:Bot start= end= t=1968 good PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1221613 bytes) in /home/frosty/mediawiki-1.17.0/includes/parser/Parser.php on line 393
Try raising php's memory limit--see your php.ini for memory_limit--and see if that helps (you'll have to restart Apache).
-Chad
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks guys! I did raise the memory limit in php.ini & restart Apache. That seems to have cleared the problem.
I'm surprised you had the problem at all. What did you raise your memory limit to? For me, every time I've had such an issue, there was something else wrong. Have you noticed anything else strange?
-- View this message in context: http://wikimedia.7.n6.nabble.com/Memory-Issues-tp1387474p2286766.html Sent from the WikiMedia General mailing list archive at Nabble.com.
On Dec 9, 2011 10:36 AM, "John W. Foster" jfoster81747@gmail.com wrote:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
That's exactly 2**27 (128M, well under 8G! but then there's swap and overcommit)
Check php.ini for any obvious memory related options you can tweak. If that doesn't fix it then post a copy of your php.ini.
-Jeremy
mediawiki-l@lists.wikimedia.org