[Tickets #13761] Re: Memory usage issues when IMAP sequence range is far apart
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Dec 23 00:00:01 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13761
------------------------------------------------------------------------------
Ticket | 13761
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Memory usage issues when IMAP sequence range is far
| apart
Queue | IMP
Version | 6.2.4
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2014-12-22 17:00) wrote:
> The problem seems that as the user has left some messages from a few
> years back in that folder then the min/max sequence ID are very far
> apart which causes the issue.
This makes no sense. Memory is allocated per *message*. It is
irrelevant the gap between any two messages.
I can create an array of 10,000 IDs with a gap of 1000 between each ID
- I see total memory usage of about 6 MB. (100,000 IDs causes memory
usage of ~40MB. 1,000,000 IDs causes memory usage of ~300MB).
You will need to provide a reproducible test case where 3000 IDs is
causing memory usage of > 256 MB - I can't even get 1% of that memory
usage.
More information about the bugs
mailing list