[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:27:10 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:27) wrote:

Does this patch improve things for you:

diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Base.php  
b/framework/Imap_Client/lib/Horde/Imap/Client/Base.php
index 96c4fc7..087265c 100644
--- a/framework/Imap_Client/lib/Horde/Imap/Client/Base.php
+++ b/framework/Imap_Client/lib/Horde/Imap/Client/Base.php
@@ -2793,7 +2793,7 @@ implements Serializable, SplObserver
          $ids = $this->resolveIds($mailbox, $opts['ids']);

          $squery = new Horde_Imap_Client_Search_Query();
-        $squery->ids($this->getIdsOb($ids->range_string));
+        $squery->ids($ids);
          $search = $this->search($mailbox, $squery, array(
              'nocache' => true
          ));






More information about the bugs mailing list