Author Topic: Has Aquamail display slowed down?  (Read 7991 times)

someone

  • Sr. Member
  • ****
  • Posts: 415
Has Aquamail display slowed down?
« on: March 03, 2016, 04:29:23 am »
I'm a long time user of Aquamail which I think is the best mail app for me. I am currently using Aquamail 1.6.0.11 in a nexus 5 running stock 4.4.4.
Recently I've noticed a perceptively slower display in Aquamail.

For instance :
- When I open AM, it can take a couple of seconds for the smart folder to display the message list.
- When I select a read message in the folder and click on the toolbar's "closed envelope icon" to change the message to unread, it happens slower than it used to.
- etc.

This slowing is recent though I cannot tell whether it followed a recent AM update or not. It does not happen in my other apps, just AM, and I have 8GB of free space on my sdcard. I regularly run lagfix which I've done for years, so it is not new.

Any ideas would be appreciated.

paras.desai

  • Sr. Member
  • ****
  • Posts: 269
Re: Has Aquamail display slowed down?
« Reply #1 on: March 03, 2016, 04:30:50 am »
Try compacting database

Sent from my LG-H818 using Tapatalk
« Last Edit: March 03, 2016, 04:33:35 am by paras.desai »
Using Tapatalk

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #2 on: March 03, 2016, 08:15:42 am »
Thanks for replying.
I had not bothered compacting because the "sdcard" in the nexus 5 is a virtual one in ram. But I just did it. Took a long time so it must have been doing something. Seems quicker. Will see how it goes.

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #3 on: March 03, 2016, 04:32:46 pm »
Actually, the compacting does not seem to have made a difference, probably because there is no physical sdcard in the nexus 5 and the "sdcard" is virtual and in memory.
I am wondering if the latest versions may have become a little bloated with features that are slowing things down.
Does anyone know where I can download an older version of Aquamail to see if that is the problem?
Thank you.

Edit
Just noticed that AM seems to have trouble synchronizing (which would explain the delay). Other apps connect fine on my home's fast wifi.
« Last Edit: March 03, 2016, 04:36:01 pm by someone »

paras.desai

  • Sr. Member
  • ****
  • Posts: 269
Re: Has Aquamail display slowed down?
« Reply #4 on: March 03, 2016, 04:50:34 pm »
I have the latest version and I am on android 6, the performance of aquamail is as awesone as it has been. 

Sent from my LG-H818 using Tapatalk

Using Tapatalk

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #5 on: March 03, 2016, 05:44:59 pm »
I think my email server is having problems. Will see.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Has Aquamail display slowed down?
« Reply #6 on: March 03, 2016, 08:53:52 pm »
Re: When I open AM, it can take a couple of seconds for the smart folder to display the message list

I think it's NOT this:

Re: I think my email server is having problems. Will see.

It seems more likely that the slowdown is due to the app's database having gotten too large.

Can you please post a screenshot of the app's "About" window? If not, please let me know the size of Messages.sqldb shown there?

Anything over about 70-100 mb can cause the db to be too slow.

And that in turn is often caused by "messages to sync" / "messages to cache" settings being too high, in other words, by asking the app to keep track of and store too many messages.

PS - I own the original Nexus 5 and it's still awesome after all these years, very very fast (on par or slightly better than the newer 5x).
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/

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #7 on: March 04, 2016, 12:12:58 am »
Dear Kostya, thank you for writing.

There was a problem with my email server caused by a feeder problem in Boston. It even went off the air for a few hours. Now it is back. But things are still slower than previously.
Here is the screenshot you requested. Didn't change much after I compacted the db. As you can see it is very large.

Thinking back, I think the slowdown may have begun after I implemented junk/spam folders in my 6 imap accounts. These synced folders quickly filled up with spam.  2591, 1150, and 2130 in 3 junk folders!

Now that the spam filters are working well on the server I plan to no longer "sync" the junk folders in AM. (I never find a legit message in the spam folders).

But, if I stop syncing the spam folders, how do I send spam messages to my spam folder on the ISP server so that the server learns they are spam?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Has Aquamail display slowed down?
« Reply #8 on: March 04, 2016, 12:41:27 am »
Re: Here is the screenshot you requested

There isn't one.

Re: As you can see it is very large

I can't see the numbers, but...

Your describing overall sluggishness of the app's UI is consistent with that.

Mail server issues would only slow down mail sync, but won't affect e.g. just the opening of a message list.

And since "Didn't change much after I compacted the db":

Then please check the "messages to sync" / "messages to cache" settings, the defaults are "25 or 50" and "250" respectively.

Re: how do I send spam messages to my spam folder on the ISP server

You can set your spam folders, in AquaMail, to "Spam, don't sync".

This will still keep the "move to spam" buttons / icons, but those folders won't sync all the time.

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/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Has Aquamail display slowed down?
« Reply #9 on: March 04, 2016, 12:43:22 am »
Re: These synced folders quickly filled up with spam.  2591, 1150, and 2130 in 3 junk folders

Those are server message counts, not what's stored in the app.

The app only downloads the "messages to sync" worth of most recent messages.

( some of my folders have numbers > 10,000 and used to be at > 30,000 )

On the other hand, maybe those spam messages are very very large, so even 25-50-250 of them takes up a lot of space?

It's either that or else I think you've configured the app to sync / cache too many messages.
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/

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #10 on: March 04, 2016, 01:05:50 am »
Is this the correct setting for the junk folders?

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Has Aquamail display slowed down?
« Reply #11 on: March 04, 2016, 02:49:19 am »
Someone:
No, Kostya suggested a different setting: "Spam, don't sync".

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #12 on: March 04, 2016, 03:03:06 am »
OK thanks.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Has Aquamail display slowed down?
« Reply #13 on: March 04, 2016, 06:22:08 am »
Once you change the configuration of the "Spam" folders, you may want to "compact the database" as you've done earlier, to expunge the messages in that folder from Aquamail's database.

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: Has Aquamail display slowed down?
« Reply #14 on: March 04, 2016, 07:11:25 am »
Did that too and this time it made a big difference. AM is now back to normal speed.

Thank you ALL for your help, especially Kostya.