On Mon, Dec 05, 2005 at 01:34:38PM +0100, Thijs Kinkhorst wrote:
> In order to gzip compress the output, phpbb buffers the table in memory,
> gzips it and sends it to you. This causes the memory limit to be
> exceeded.
>
> To allow unlimited backup sizes and gzipping is not trivial to solve,
> especially with my knowledge of the algorithm. I'll check what upstream
> has to say about it.
Upstream could use the following mechanism instead of doing the whole
compression thing in-memory, so that it doesn't require this much memory
at all anymore.
<?php
$gz = gzopen("php://stdout", "w9");
gzwrite($gz, "part1\n");
gzwrite($gz, "part2\n");
gzclose($gz);
--Jeroen
--
Jeroen van Wolffelaar
[EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]