roundcubevnz / myroundcube

Automatically exported from code.google.com/p/myroundcube
GNU General Public License v3.0
0 stars 0 forks source link

[plugin_manager] PHP Memory Error #819

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: 4d5b217e225870219cc3c1365386ab32 (Don't modify this token!)
Version: 24.0.2 (27-01-2014)
PHP: 5.3.10-1ubuntu3.14
RCMAIL: 0.9.4
Database: mysql
SERVER: Apache/2.2.22 (Ubuntu)
----
I.  Issue Description:
We have tried MANY times to upgrade from Roundcube version 0.9.4 to 1.1.1. and 
every time we do, we get a memory error when trying to use the plugin_manager 
plugin. Everything else works fine. If we remove the plugin_manager from the 
config file, we can load Roundcube just fine. But, as soon as we put the 
plugin_manager back in, we get a white screen in the web browser and the 
following error appears in the ./logs/errors file:
[05-May-2015 19:40:34 UTC] PHP Fatal error:  Allowed memory size of 67108864 
bytes exhausted (tried to allocate 523800 bytes) in 
/var/www/html/webmail/rc/program/lib/Roundcube/rcube_plugin_api.php on line 121

II. Steps to reproduce the Issue:
1. Upgrade from Roundcube 0.9.4 to 1.1.1

Original issue reported on code.google.com by brookeba...@gmail.com on 5 May 2015 at 8:38

GoogleCodeExporter commented 8 years ago
Increase memory assignment.

Original comment by myroundc...@gmail.com on 6 May 2015 at 2:44

GoogleCodeExporter commented 8 years ago
I change the master value memory limit in php.ini but they seem to be
overridden by a local value. Does Roundcube or MyRoundcube Plugin Manager
override this? I set the php.ini to 512M and it is not taking effect.

Original comment by brookeba...@gmail.com on 6 May 2015 at 4:31

GoogleCodeExporter commented 8 years ago
I found the memory limit override in .htaccess in the root folder, and
increased it to 512M.

Plugin manager still errors out: "[06-May-2015 16:33:12 UTC] PHP Fatal
error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate
523800 bytes) in
/var/www/html/webmail/rc/program/lib/Roundcube/rcube_plugin_api.php on line
121"

Exactly how much memory should the plugin manager require? There appears to
be a memory leak.

On Wed, May 6, 2015 at 11:30 AM, Brooke Babcock <brookebabcock@gmail.com>
wrote:

Original comment by brookeba...@gmail.com on 6 May 2015 at 4:34

GoogleCodeExporter commented 8 years ago
As said ... works for me:

php_value   upload_max_filesize   5M
php_value   post_max_size         6M
php_value   memory_limit          64M

I can't tell you why it does not work for you.

We offer paid remote access support and in case of a bug in our code we refund 
payments.

If you are interested then check ...

https://myroundcube.com/services-support

... otherwise we have to quit here because it does not make sense if you tell 
that you have an issue while I tell you that it works for me and obviously 
countless other customers. Nobody reported such an issue.

Original comment by myroundc...@gmail.com on 6 May 2015 at 5:15

GoogleCodeExporter commented 8 years ago
There is a bug in your code. It is eating up 512MB+ of memory.

Original comment by brookeba...@gmail.com on 6 May 2015 at 6:10

GoogleCodeExporter commented 8 years ago
There is no bug. Otherwise it would not work for me and thousands of others. 
ONLY YOU reported the issue.

Original comment by myroundc...@gmail.com on 7 May 2015 at 3:00