nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.81k stars 1.38k forks source link

nylas unusable after marking hundreds of messages as read #3457

Open sam0x17 opened 7 years ago

sam0x17 commented 7 years ago
Are there any related issues?

not that I can find

What operating system are you using?

Ubuntu 16.04

What version of Nylas Mail are you using?

Basic

Bug?

Do you have any third-party plugins installed? If so, which ones?

no

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

Gmail

Is the issue reproducible with a particular attachment, message, signature, etc?

Try marking a couple hundred messages as read and see what happens

Issue

I marked 700 messages as read, and for the past 2 days it just sits saying it's busy marking them as read and never makes any progress, constantly using 100% cpu on 2 cores. New mail does not arrive as well. Would love a way to simply clear the local cache so I can keep using it in the mean time.

screenshot from 2017-04-22 06-00-23

screenshot from 2017-04-22 07-04-21

screenshot from 2017-04-22 07-04-49

sam0x17 commented 7 years ago

anyone? I'd at least like to know how to clear the local cache for Nylas so it can just re-sync manually so I can receive messages again.

sam0x17 commented 7 years ago

edit: found that this can be fixed (on linux) by rm -rf ing the hidden nylas directory in my home folder, though this results in resetting everything in my local nylas client.

In general, I've found that the performance of the embedded mysqlite databases used by nylas to be pretty bad (causing constant high CPU usage on my computer) so I've switched back to gmail web client for now. Developing a fast local database system for this seems like the way to go, and could be a fun project, but not enough time for me to do that right now (unless it was paid).