[pmwiki-users] pagelist fatal error

Brent Zupp bplotter at yahoo.com
Mon Dec 4 15:26:00 CST 2006


Thanks, Patrick. You're right. The limit right now is 8BM on this host.

Oddly, the problem is not appearing right now, so I'll just keep watching.

FYI, pagelists directives used:

For sidebar:

(:pagelist group=Category fmt=#title list=normal name=-Category:)

For homepage I have addition list:

(:pagelist fmt=#blog link=Category.Blog count=40 order=-time:)

Not seeing problem now, so this may be non-issue.

Thanks, as always, for your help.

Best,
Brent

On 12/4/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Mon, Dec 04, 2006 at 11:46:26AM -0800, Brent Zupp wrote:
> > Rec'd the following error when using pagelist directive:
> >
> > Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to
> > allocate 35 bytes) in /path/to/pmwiki/scripts/pagelist.php</b> on line
> > 485
>
> PHP is running out of memory.  Many PHP installations are
> configured to limit themselves to 8MB of RAM, and pagelist
> can quickly run into this limit for sites that have large
> numbers of pages (especially if pagelist is having to
> sort or filter pages where it has to load large amounts of
> information into memory).
>
> To see that this is the case, take a look at the
> memory_limit parameter in ?action=phpinfo.
>
> However, your site only seems to have 435 pages, so I'm
> not exactly sure why it would be running out of memory
> based on that.  What's the (:pagelist:) command you're using?
>
> It might also be the size of the page being displayed that
> is hogging memory, but that seems unlikely somehow.
>
> Pm
>


-- 
Brent Zupp
http://www.wanderings.net/notebook
http://www.flickr.com/photos/62142788@N00/

To invent, you need a good imagination and a pile of junk.
 ~ Thomas A. Edison




More information about the pmwiki-users mailing list