memory_limit; PHP Fatal Error

Having trouble installing Group-Office? No worries. Help is on the way.

Moderator: Developers

memory_limit; PHP Fatal Error

Postby spysz » Mon Jul 30, 2012 5:33 pm

Hi,

I'm using v4.0.77. When I try download attachments as zip file I get this message:

==> /var/log/apache/httpd-error.log <==
[Group-Office][20120730 19:23][username]: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 48068305 bytes) in /webmail/mail2/go/base/cache/Disk.php on line 72

PHP version: 5.4.5
Apache version: 2.2.22

> Setting from php.ini:
output_buffering = Off
post_max_size = 128M
upload_max_size = 128M
memory_limit = 256M

> In config.php:
$config["max_file_size"]="128000000";
$config["max_attachment_size"]="128000000";

Of course it works, but this message is something what worries me.

Regards,
Simon
spysz
 
Posts: 15
Joined: Fri Jun 22, 2012 10:51 am

Re: memory_limit; PHP Fatal Error

Postby Intermesh » Thu Aug 02, 2012 9:18 am

How big are those attachments?
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7086
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Re: memory_limit; PHP Fatal Error

Postby spysz » Fri Aug 03, 2012 2:17 pm

Hi,

About 40M. I think it shouldn't happen.

Regards,
Simon
spysz
 
Posts: 15
Joined: Fri Jun 22, 2012 10:51 am

Re: memory_limit; PHP Fatal Error

Postby Mikeyy » Sat Aug 04, 2012 11:29 am

I had same PHP error some time ago, but for z-push syncronization when testing new device sync.
Mikeyy
 
Posts: 63
Joined: Wed Jun 01, 2011 8:57 am

Re: memory_limit; PHP Fatal Error

Postby Intermesh » Wed Aug 29, 2012 2:46 pm

I found the problem. 4.0.92 will have the fix.
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7086
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch


Return to Installation

Who is online

Users browsing this forum: Bing [Bot] and 1 guest