[dokuwiki] Re: "memory size" Error


On 20 Mar 2008, at 01:24, Todd Augsburger wrote:


The page is at http://music.organettes.com/instruments/celestina/home
I do use several plugins, both public and private, but this particular page
is pretty basic stuff. I also use a modified sidebar template.




Thanks.

For interest, that page is 97k, generates 1.2Mb of instructions and requires 22MB in 18.5sec to process from raw wiki text to rendered xhtml on my box.

I created a really big page, mixed content, no one piece of content really large.

raw wiki file ... 750k
instructions cache ... 1.2M
memory required ... 26M
time required ... 95s

and I created a page that was pretty much all one large table, 4 cells across, 3300 rows

raw wiki file ... 127k
instructions cache ... 3.2M
memory required ... 49.5M
time required ... 29s

My server has memory_limit set to 48M (that's just over 50 million hence the 49.5 above). At 3500 rows it blows up and the stack trace at the point shows ...

its still in the handler and its trying to finalize the table
- at start of table finalisation:   27M
- at entering last part of finalisation: 49.5M

The table finalisation code uses two foreach on the initial and final arrays of table instructions, by my calculations that should double the memory requirements for finalisation. However, I swapped both to other iterators and although the page did process at 3500 rows, it still required 49.2M.

I'll do some more investigation later.

- Chris



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

Other related posts: