Opened 5 years ago

Closed 5 years ago

#1485064 closed Bugs (worksforme)

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 (6)

comment:1 Changed 5 years ago by dlynes

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

comment:2 Changed 5 years ago by alec

  • Milestone changed from later to 0.1.2

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

comment:3 Changed 5 years ago by dlynes

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

comment:4 Changed 5 years ago by dlynes

The svn version solved the problem.

comment:5 Changed 5 years 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.

comment:6 Changed 5 years ago by till

  • Resolution set to worksforme
  • Status changed from new to closed

Apparently fixed in SVN.

Note: See TracTickets for help on using tickets.