tags 342082 upstream
thanks

Hello Nigel,

Thanks for your report.

> When choosing admin->backup database, the file phpbb_db_backup.sql.gz
> isn't complete. The last few lines show the problem:

> <b>Fatal error</b>:  Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 7045801 bytes) in
> <b>/usr/share/phpbb2/site/admin/admin_db_utilities.php</b> on line
> <b>851</b><br />

The problem here is a combination of a few factors:
- you're using gzip output compression, and
- your PHP install is set to the php memory limit of 8MB, and
- your database is larger than 8 MB

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.

My advice (workaround) is to disable the gzip compression, after which
it will work. Alternatively, you could try to raise the memory limit.

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.

regards,
Thijs Kinkhorst

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to