Closed Bug 1666948 Opened 4 years ago Closed 4 years ago

Very slow opening an IMAP folder containing emails addressed to 1000 contacts from the address book.

Categories

(Thunderbird :: Address Book, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 619493

People

(Reporter: robertus, Unassigned)

Details

(Keywords: perf, regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

After upgrade from Thunderbird 68 to 78 I experience SIGNIFICANT performance degradation when opening certain IMAP folders.

  1. My address book has a folder with about 30,000 contacts
  2. I have IMAP accounts from which I send messages to contacts in my address book. It is usually several email messages addressed to 1000 contacts or less. This is for email-to-fax gateway fax marketing, so the email messages have blank body and an attached PDF file.
  3. After the emails are sent, they are moved to Sent folder. I also keep several drafts in the Drafts folder. In ver 68 these folders were opening with few second delay, but was totally workable. This changed drastically after the upgrade.

Actual results:

When trying to open Sent or Draft folder containing email messages that addressed to 1000 recipients, which are also in the address book, Thundebird stops responding. I waited ~5 minutes and eventually killed Thunderbird. This is reproducible at all times. Deleting the contacts from the address book resolves it right away - i.e. the folders open much faster.

I suspect this is because of address book format change from MAB to SQLITE. This worked fine in ver 68.

Expected results:

folder opened within a reasonable time.

Summary: Very slow opening an IMAP folder containing emails addressed to large number of addresses which are in the address boo. → Very slow opening an IMAP folder containing emails addressed to large number of addresses which are in the address book.
Component: Untriaged → Address Book
Keywords: perf

I assume you mean opening the message, or what do you mean with opening the folder?

Keywords: regression
Summary: Very slow opening an IMAP folder containing emails addressed to large number of addresses which are in the address book. → Very slow opening an IMAP folder containing emails addressed to 1000 contacts from the address book.

This is a screen clip from the previous (working) version 68 of Thunderbird. As you may note, the messages are addressed to ~1000 recipients. When I click on Sent or Drafts folder in ver 68 (to load the email list in the right pane), it takes some time to load, probably around 30 seconds, which is totally reasonable, taking in consideration large amount of recipients in each message. In version 78, after upgrade, the same operation results in Thunderbird "Not Responding" for 5+ minutes - I did not have patience to wait longer to see if it eventually loads. All destination email addresses in the messages are in the address book. Deleting the address book entries in ver 78 effectively clears the issue, as the message list in the right pane loads within reasonable time.

I don't even get to opening a message. I have trouble opening a FOLDER - particularly Drafts or Sent folders. In essence, the issue happens when I click on the Sent or Drafts folders to load the list of the messages in the right pane. The email messages must be addressed to large amount of recipients and destination email addresses must be in the address book for the issue to happen.

(In reply to Magnus Melin [:mkmelin] from comment #1)

I assume you mean opening the message, or what do you mean with opening the folder?

As a side note, I noticed significant performance degradation for importing of contacts from CSV file into the Address Book. As I mentioned I tried to completely delete my contacts from the Address Book and it resolved the issue. Then I tried to re-import the contacts from the CSV file (same file I used when importing contacts into ver 68). The import process made Thunderbird unresponsive long enough for me to stop waiting and to kill the process. My Address book has over 30,000 entries.

Another thing worth noting: starting Thunderbird with Add-ons disabled had no effect on the issue.

Opening the folder will load the message into the lower right pane. Which is probably what's causing the delay.

(In reply to Magnus Melin [:mkmelin] from comment #6)

Opening the folder will load the message into the lower right pane. Which is probably what's causing the delay.

I can try to disable the message preview pane and see if this behavior persists. Will this be helpful?

also, I checked in ver 68, the preview pane does not load a message until you actually click on a message in the list (the top one). This may be different in ver 78 though.

I can try to disable the message preview pane and see if this behavior persists. Will this be helpful?

Yes, but not a solution. Likely also correlates to one of these https://mzl.la/2IzimId

Let us know how 78.4.0 performs, which will be out next week

Flags: needinfo?(robertus)

your issue is described in bug 619493

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(robertus)
Resolution: --- → DUPLICATE

(In reply to Wayne Mery (:wsmwk) from comment #10)

your issue is described in bug 619493

*** This bug has been marked as a duplicate of bug 619493 ***

This CANNOT be a duplicate of a bug opened 10 years ago because I work without problem with such emails in ver 68. Upgrading to ver. 78 renders working with large emails unfeasible. I do believe my reported issue is separate. More, the bug you pointing to has not been fixed so I cannot apply resolution to ver 78 and test. Please re-open the issue.

I believe the reasoning is that yes, address lookup is at least < 78.4.0 slower than it was in previous versions - so it just aggravates the situation where you have 1000 of addresses there.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: