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.8k stars 1.38k forks source link

Nylas Mail is very slowly / very bad performance #3501

Open Narga opened 7 years ago

Narga commented 7 years ago

The first word, I love Nylas Mail and your phylosophy, I'm using Arch Linux and I've used Nylas N1 from the start. When the Nylas Mail appeared, I switched to it when the Linux version avaiable but I must switched back because Nylas Mail is lagging, slowly especial when change the email accounts. I don't know why but the N1 running flawlessly, Nylas Mail is memory eating up to 2GB just for 15' of usage. If I want to jump from email account #1 to #2, I'm must waiting for 10-15s, sometimes it's cost me a minute then I must force close it then change to other email client. I have 3 email accounts from 2003 and there ton of emails but they're running fine on Thunderbird, Geary or Evolution. Why, I upgrade Nylas Mail every new build through AUR but it's not improved.

myguestbook commented 7 years ago

seeing the same thing on my mac book air 4GB. mac showing energy impact over 95 sustained and draining the battery aggressively. had to quit the app last night. V1.5 was working correctly. glad to help debug.

jfkominsky commented 7 years ago

Likewise having serious performance issues of the sort described here using a 2013 Macbook Pro with 8GB of RAM. Even if Nylas is the only program running switching accounts takes up to 30 seconds, new message windows take several seconds, basically any action comes with an 8-30 second lag. I also periodically get the "Nylas Mail is not responding" pop-up, but if I hit "keep waiting" it gets there most of the time.

"Nylas Mail Work" process is consistently eating 5-15% of my CPU and about 400MB of RAM, even when I'm doing nothing with it. If I open the dev console it's just walls of warning messages like this one: screen shot 2017-05-01 at 10 54 35 am

Using 2.0.31, OSX 10.9.5, 2.5GhZ Intel Core i5 with 8GB 1600 MHz DDR3 RAM.

paulozullu commented 7 years ago

I have the same problem. I have 8GB RAM and a i5 2.6GHz but it takes me up to 10 seconds to change mail folders.

itzsaga commented 7 years ago

Nylas kills my CPU as well. Within 10 seconds of me loading Nylas my fan spins up because of CPU usage. Samsung ATIV Book running Ubuntu 16.04.2 LTS. 4 different Nylas processes consistently are using no less than 30% CPU.

My guess is Nylas is working hard to sync the thousands of emails I have in Gmail. I would suggest a header sync only outside of a user set date range. Save on disk space too. However, this is only a guess as I haven't looked into it.

bmcclure commented 7 years ago

I'm experiencing this as well. Fast laptop, but everything is slowed down immensely by Nylas Mail syncing a really small Gmail account. I have about 50 messages total in my account, and it's been hammering my CPU and supposedly syncing my mailbox for over two hours now.

michalhudecek commented 7 years ago

Is anyone working on this? The new Nylas is still unusable because of this.

perin-lionshead commented 7 years ago

+1

NoZiL commented 7 years ago

+1

Bass-03 commented 7 years ago

+1

itzsaga commented 7 years ago

Update for me, I left Nylas running on my laptop overnight and when I came back all was well. It seems to have synced everything now and works well without killing my CPU. Not sure if an update was pushed to fix or it just finally finished syncing.

bill2502 commented 7 years ago

Same problem here. I tried to leave Nylas alone and worked, but when i receive a new mail, it starts to crawl all over again.

My specs: HP Z800 Workstation 96GB of ram 2x Xenon X5690

tayhalla commented 6 years ago

When you download Nylas for the first time, it seems to sync (rip through CPU) endlessly. It's been going for 2 hrs strong with fans full blast...

If the nylas team is listening - If this is expected behavior, I'd do something to at least give people a heads up this is normal behavior for the initial install. Like - if this is all for an initial indexing, ok (I guess) - I'll leave my mbp plugged in for however long it needs.

W/ out finding this thread though, I would have just uninstalled immediately. It sounds like my fully loaded mbp is about to melt or blow up...

olsnacky commented 6 years ago

I have the same problem as @bill2502. If I receive a new email Nylas crawls for 10s of seconds. This can also happen while composing an email.

Specs: i7-5820K 3.3GHz 64GB RAM Windows 10 Pro

bserrao commented 6 years ago

Same problem here, extremely slow IMAP connection to exchange server. Completely unusable in this state.

ksingh7 commented 6 years ago

Exact same problem Version 2.0.32 (2.0.32) High CPU usage + System FAN. OSX i7 , 16G

Bass-03 commented 6 years ago

I find this funny, we are running an electron app and a complete mail server, maybe we can ask for some optimization but I think we should expect some CPU and Ram usage.

itzsaga commented 6 years ago

@gdledsan some yes, but 100% CPU for days on end while indexing?

Bass-03 commented 6 years ago

@itzsaga I guess that would depend on the OS and the PC. This thing copies all emails to your local server. My experience so far is that it takes about 4 days to index all my emails if I reset the email cache, however my computer is still very usable, this process does not consume a lot of CPU or RAM.

While doing that, the app is kind of slow to send stuff or read new stuff but after it indexed everything the app works just fine.

for reference, I'm on Ubuntu Gnome 16.10 on a X1 Carbon, i7 16Gb ram, before this one I had another x1 carbon with 8GB Ram, did not complain about nylas either.

begin29 commented 6 years ago

Cpu usage around 45% screenshot from 2017-08-23 11 50 50

i5-3320M CPU @ 2.60GHz 16 Gb of RAM HP EliteBook 8470p Ubuntu 15.04

alexmic commented 6 years ago

Same here, it's practically unusable.

LiamMartens commented 6 years ago

same thing here, works for a while, sometimes just doesn't

fpernice518 commented 6 years ago

Same issues here, it's painfully slow. Using Fedora 26 here, Lenovo Thinkpad T510 i7 620M with 8GB RAM

NoZiL commented 6 years ago

Get one of these forks : https://getmailspring.com/ or https://github.com/nylas-mail-lives/nylas-mail