[dokuwiki] Re: "memory size" Error

  • From: Christopher Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 19 Mar 2008 22:46:14 +0000


On 18 Mar 2008, at 21:54, Todd Augsburger wrote:

Anybody else seen this recently?

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 85165 bytes) in [...]/inc/parser/lexer.php on line 127"

I get it (or similar bytes) on a rather large page (about 100K) with many tables (about 1850 rows in about 3 columns in about 12 tables). I can repeat the error by editing or adding a "?purge" parameter to the URL. I'm using devel from a couple weeks ago; I'll try to update by this weekend and retest.

I can alleviate the error by upping memory in php.ini to "memory_limit = 48M", but is that the correct solution?


Are you able to publish the page in question for analysis?
Or if not in public, send it to me in private so I can take a look at where the memory usage is going.

I did some tests on php4.4.7 & some very large DW pages with lots of plugins installed, but only achieved memory usage in the 10M-12M range.

- Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: