Author Topic: how do I reduce the memory being used by Aquamail  (Read 6904 times)

jlichty

  • Newbie
  • *
  • Posts: 2
how do I reduce the memory being used by Aquamail
« on: December 24, 2013, 08:43:35 pm »
Aquamail is currently using 85MB on my device.  Is there any way to reduce that usage  that without losing functionality?

Fcasoli

  • Hero Member
  • *****
  • Posts: 541
Re: how do I reduce the memory being used by Aquamail
« Reply #1 on: December 25, 2013, 02:33:19 pm »
On my S4 mini Aqua uses 15 MB, one account only. IMAP.

Sent from my Galaxy Note 3 / S4 Mini


jlichty

  • Newbie
  • *
  • Posts: 2
Re: how do I reduce the memory being used by Aquamail
« Reply #2 on: December 25, 2013, 10:45:26 pm »
I am using on NoteII - IMAP

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: how do I reduce the memory being used by Aquamail
« Reply #3 on: December 29, 2013, 04:20:01 pm »
It just really depends on how many accounts / folders you have, and how large your messages are.

Message text content is stored in internal memory, and attachments are cached on the memory card (or its built-in equivalent on those devices that have it).

You can reduce how many recent messages the app stores on the device by:

Long pressing an account
Choosing Options and Folders -> account options
Reducing the "messages to keep" setting from the default 250 to something lower

The change will go into effect overnight.
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/

klawk

  • Newbie
  • *
  • Posts: 3
Re: how do I reduce the memory being used by Aquamail
« Reply #4 on: February 22, 2016, 11:04:22 am »
The workaround did not work for me. I have 208 MB with 3 IMAP Accounts, no difference whether I keep 50 or 250 Mails on the phone, even after waiting a week after changing the number of mails on the phone.  On the other device (tablet), it is 38.5MB with the same accounts.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: how do I reduce the memory being used by Aquamail
« Reply #5 on: February 22, 2016, 04:43:04 pm »
Since your accounts are IMAP, you'll lose nothing if you save them (using AquaMail save/restore) then delete them (in AquaMail), and restore them (using AquaMail save/restore).
Hope this will help.

Just in case (to avoid horrible consequences) :'them' are accounts in Aquamail,  not messages.
:)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: how do I reduce the memory being used by Aquamail
« Reply #6 on: February 22, 2016, 10:15:40 pm »
Quote
I have 208 MB with 3 IMAP Accounts, no difference whether I keep 50 or 250 Mails on the phone, even after waiting a week after changing the number of mails on the phone

Please post the system settings screen where you're seeing this 208 megabytes -- I'd like to see how it breaks down into the database size and other stuff (like attachments, for which you may have enabled preloading).

It would be useful if you could post the app's About screen too -- it lists the app's database sizes (Messages.sqldb and Contacts.sqldb).
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/

klawk

  • Newbie
  • *
  • Posts: 3
Re: how do I reduce the memory being used by Aquamail
« Reply #7 on: February 23, 2016, 11:43:50 am »
App-Info

Overall 210 MB
App 17,62MB
External App 0,00B
Data 131 MB
External Data 61.05MB
Cache 44,00KB




Messages.sqldb: 130 MB + 512KB
isThreadSchema = false
isLinkedSchema = false

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: how do I reduce the memory being used by Aquamail
« Reply #8 on: February 25, 2016, 04:27:24 pm »
Yes, that's a huge message database. I suppose it's running somewhat slow too.

Re: no difference whether I keep 50 or 250 Mails on the phone

I suspect that maybe you've set fairly high "messages to sync" settings -- to avoid the app downloading and then trimming what it downloaded, then doing it over and over again, the app will keep on the device "max(messages to sync, messages to keep)" number of messages, per folder.

Please check, and if it's true, please reduce the "messages to sync" values, and then Menu -> Compact the database again -- you should see the size of Messages.sqldb get smaller immediately after that.
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/

klawk

  • Newbie
  • *
  • Posts: 3
Re: how do I reduce the memory being used by Aquamail
« Reply #9 on: February 26, 2016, 02:12:07 am »
I followed the Instructions of Paris Geek, resulting in Messages.sqldb: 16,32MB, Contacts.sqldb : 4,00KB+101KB, isThreadSchema = false
isLinkedSchema = true
after an automatic Compress.

Messages to sync was 50. In fact AquaMail had suddenly become very slow, probably after updating from 4.4 to Android 5.1.1. Now speed is better again.

Thank you very much to all for your help!