Author Topic: User interface very unresponsive after moving e-mail between IMAP folders  (Read 6529 times)

FullSyncer

  • Newbie
  • *
  • Posts: 5
Hello,

First of all, congratulations on a great e-mail client for Android, which works much better than others and is really needed!

I use Aquamail Pro for an IMAP-Account with 100 to 150 folders and some folders with a few thousand e-mails. However, I only synchronize maximally the 1000 newest e-mails per folder.

Everything works very well when only reading e-mails and opening different folders.

However, when I move an e-mail from one IMAP folder to another, Aquamail shows "synchronizing" in the status messages for minutes and the user interface becomes extremely unrespronsive. Basically, you cannot use Aquamail anmore for minutes.

This even happens when you move e-mails between smaller folders, that do not have thousands of e-mails.

Can this be fixed / optimized please! If not, can you say what Aquamail's performance depends on: number of e-mails, number of folders, e-mails per folder, size of e-mails , etc. ? Then I could configure it in a way that it is still usuable for me.

Thanks,

Marcus


Thomas

  • Sr. Member
  • ****
  • Posts: 282
  • Just enjoying life...
Well, lets say it this way. Every program will slow down with such a huge database, more if you want to move messages from one huge part of the database to an other, opening, extracting, sorting, etc. I think even Outlook on a PC gets in problems with such an amount of emails and folders ;)
Anyway, try: Menu - Compact the database. May help.

Suggestion:
I have max. 250 emails in each folder, never needed more. AquaMail has the capacity to search on the server in case you need an older message. Just a suggestion.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Overall, the app's performance is of course affected by the number of messages, folders, accounts, etc.

( as a side note: Android devices are sold as having "gazillions of Gigahertz and Gigabytes", but their actual performance is about 10 times slower than a similarly priced x86 desktop... the compact form factor has its price... )

Could you try capturing the issue in the debug log? Moving a message should be pretty fast, I'm concerned by your comment about "minutes". Please enable "raw data" setting when you do this.

Recording a debug log is described here: http://www.aqua-mail.com/?page_id=232
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

FullSyncer

  • Newbie
  • *
  • Posts: 5
Hello,

Thanks! I will try to generate a log and send that.

However, I still do not understand why it should be such an issue for a device with a quad core processor (Galaxy S3 with Android 4.1.2) to manage a couple of lists with e-mails. I can record and play HD videos on that same device(!)

What does Aquamail Pro do when deleting or moving an e-mail between folders? From my point of view it should just reconfigure a couple of pointers and - in case of deleting e-mails - release some memory. Then - but that should happen asynchronously - it should sync that with the server whenever there is server connectivity again. How can that keep the application busy for so long?

Even with maximally 250 e-mails per folder it feels kind of sluggish, although much better than with 1000 e-mails per folder. I still get the little circle turning for up to a minute, mostly next to the e-mail account, but not any individual folder.

I also do not understand how the number of folders should play a role, because you ever only move an e-mail between two folders, which should be the only ones affected.

Best regards,

Marcus

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
It is asynchronous. There are worker threads.

The "XXX GHZ, YYY cores" processors in Android devices don't come anywhere close to x86 desktops ones. The "disk" I/O is at least ten times slower than desktop computers.

I'm not making excuses, but just want to note that Android devices aren't as fast as their manufacturers would like everyone to believe (except 3D in games, maybe).

Now, I've looked at your log, thanks for sending it in.

- It seems you have over 200 folders set for the main screen. In theory, should not be a problem, but I've never tested with this many. Can you try moving some messages using menu commands, not drag and drop, to see where the issue might lie?

- There is a bunch of old unread messages in the account. If you mark them read, the app will check mail / sync changes much faster. The best way to do this is to use web mail.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/