-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory usage #108
Comments
In general, the memory consumption is an inevitable evil that comes with @electron platform. I think if you will open those 3 accounts in your browser at the same time, the browser also will be a resource consuming thing. Disabling some features will allow saving some memory:
The renderer process of a single Protonmail account added to the app takes about 200 MB of RAM, for Tutanota it's about 150 MB. |
Thank you for detailed answer. Local store I have already disabled. I've tried to disable the full-text search but not much difference. Yes in browser it's +- the same. So I guess this is the price for this way of solution. You can close the issue, if there is nothing about it you can do on this platform used. Thank you. |
@ask2018 I enabled optional GPU acceleration process disabling with this commit. This will allow you to save some memory. Unfortunately GPU acceleration disabling is currently blocked by upstream/electron bug but I will let you know when they fix it. |
Ok great. Thank you. |
Thank you. Testing version 2.3.3, but I don't see much memory usage difference. I've tried few times enable/disable the GPU acceleration with application restart and it was +- the same. Still usually between 700-800 MB, sometimes up to 900 MB for 3 protonmail accounts. If there are some differences, they are hardly noticeable in current memory usage ranges for the application. |
The GPU acceleration process normally consumes just about 50-100MB of RAM, so there won't be a huge difference but if the memory use is a concern then even such subtle improvement matters. |
Yes every memory save counts. That's true. But here I'm simply still in the same range of memory usage. |
Enabling that option is up to you but it allows saving some RAM regardless of whether you see the difference since the GPU acceleration process won't be created if the option is enabled. Besides I discovered by experiment method that the amount of saved memory is directly proportional to the number of accounts added to the program. So on one account case, the difference is going to be really subtle, probably around like 40-50 MB. You are writing about other types of processes, the |
Are there any ways how to optimize the memory usage for the application or this is the prize for the way how it's working? Currently email-securely-app is the "always running application" with the most memory usage on my computer and its really far behind all the others. I have 3 protonmail accounts added and average total memory usage for all email-securely-app processes is between 700-800 MB. That's really lot for email application and it's for me atm only thing I don't like about it.
The text was updated successfully, but these errors were encountered: