-
Notifications
You must be signed in to change notification settings - Fork 9
Insane (11GB) RAM usage, when using "code-time" plugin #57
Comments
Hi, |
Ok, thank you for the quick update. We'll take a look at this right away. |
We're still investigating this but I have a question in the meantime. Do you have a large number of files that you've worked on while using code time? We may be hitting a limit with how we help keep the hashed info locally. When you get a chance, can you provide the size of your "hashed_values.json" file located within your ~/.software directory? Thank you. |
I have the same memory munching issue on recently installed, fresh computer at home and on a several years old installation at work.It takes 11GB of RAM on both computers.
This file is from my home computer:
[hashed_values.zip](https://github.com/swdotcom/swdc-atom/files/5615925/hashed_values.zip)
I will send a file from my work computer, so you can compare them, tomorrow, after I come to work.
|
Ok, thank you for the file info. I'll confirm with another resource today and thank you again for your patience. |
Would you be able to take a screenshot of the files within your .software directory with the file size info? Thanks. |
This is from work: Here is the folder snap capture from work: Will get the screenshot from my home computer after work. |
Describe the bug
I've noticed a huge memory usage in Atom: 12GB of RAM
Thought, that maybe some, plugin is loading so much of RAM, becaue it used to be between 2 and 6 GB.
Ran in --safe mode and it used ~1GB.
At first, decided to test community plugins by turning off one by one and restarting Atom to see if it affected the RAM usage, but then found a manual about Atom profiling and found out about a TimeCop.
TimeCop didn't show a ram usage, but it showed a load time per package.
According to TimeCop, the "code-time" package takes the longest time to load.
Thought, that maybe it is related to a RAM usage somehow.
Disabled the plugin:
Restarted Atom and checked the RAM usage with "code-time" disabled:
It appears, that i nailed it. The memory usage has dropped by ~11GB.
Ran Atom for a while to see, if the RAM usage will start rising, but it didn't, so turned on the "code-time" back:
while monitoring the memory usage:
The RAM usage jumped up immediately without even a restart.
Desktop (please complete the following information):
Additional context
Atom is a flatpack package from flathub:
The text was updated successfully, but these errors were encountered: