[Tickets #3743] NEW: Out of memory when listing users

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Apr 7 06:37:43 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3743
-----------------------------------------------------------------------
 Ticket             | 3743
 Created By         | rajkumars at asianetindia.com
 Summary            | Out of memory when listing users
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


rajkumars at asianetindia.com (2006-04-07 06:37) wrote:

Hi,

I am using horde-3.1.1 with qmail-ldap and fedora ldap server. I have about
14,000 users inthe ldap directory. When I click Administration -> Users, 
nothing comes. Looking at apache error logs, I get a message:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes)

The ldap query is 

SRCH base="o=isp" scope=2 filter="(&(objectClass=qmailuser))" attrs="uid" 

which would return all 14,000 users. It seems php gets out of memory error
when it is trying to process all the users at once. An obvious solution
would be to limit the number of records fetched at once.





More information about the bugs mailing list