Ticket #1485064 (closed Bugs: worksforme)

Opened 7 months ago

Last modified 6 months ago

Memory exhausted on login

Reported by: dlynes Owned by:
Priority: 5 Milestone: 0.2-alpha
Component: Client Scripts Version: 0.1.1
Severity: normal Keywords:
Cc:

Description

I've tried running Roundcube 0.1.1. However, I've encountered two major problems with it; one was solved but shouldn't have needed to be solved; the other is a complete stopper.

I will post about my first problem in another report (it's an installer oversight).

I'm guessing I'm running into this issue because I've got a fair number of folders in the account I tried logging into, or because of I've got 11MB's of mail in my inbox (most of that is attachments). Regardless of the reason, there's no reason that I can think of, for why it should be trying to allocate 13MB's of memory just to log in.

The error I'm getting is:

==> /var/log/apache2/webmail.mydomain.com-access.log <== 12.34.56.78 - - [14/May/2008:11:25:34 -0400] "POST / HTTP/1.1" 200 26 "http://webmail.mydomain.com/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-0etch1)"

==> /var/www/webmail.mydomain.com/logs/errors <== [14-May-2008 11:27:54] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 12845033 bytes) in /var/www/webmail.mydomain.com/program/lib/imap.inc on line 489

Change History

Changed 7 months ago by dlynes

Meant to make the severity crash or severe, or whatever the strongest case was, but forgot to click on it.

Changed 7 months ago by alec

  • milestone changed from later to 0.1.2

Strange, what IMAP server? Can you try svn-trunk version?

Changed 7 months ago by dlynes

This is on Dovecot 1.0.rc15 on Debian Etch 4.0, using imapServerAddress = 'tls://localhost' and imapPort = 993

Changed 7 months ago by dlynes

The svn version solved the problem.

Changed 7 months ago by liotier

The problem may have been caused by the Apache or PHP configuration limiting the quantity of memory available to each process. The last error in the bug description indicates exactly that - I have witnessed it with other PHP software and fixed it by increasing that amount.

Changed 6 months ago by till

  • status changed from new to closed
  • resolution set to worksforme

Apparently fixed in SVN.

Note: See TracTickets for help on using tickets.