Open 42ama opened 1 year ago
Hey @42ama. Thanks for posting this. Are you sure it's a memory issue? If you have 32GB of memory, I don't believe it should be acting like this. Could you check your CPU usage to make sure that Obsidian isn't maxing out one of your cores?
@trey-wallis Yes, you're correct. It is primarily linked to CPU usage. The initial two ramp-ups happened, during reproducing a decrease in speed by clicking on two circular links to pages with embedded Datalooms. The later four spikes occur while clicking on a link and waiting for the page to load.
After version 8.8.0, the situation has improved, but the bug is still reproducible.
I will look into this soon. There are a lot of bugs that need squashing.
Describe the bug
I noticed that when working in Obsidian with pages that contain Dataloom, it starts to run slower. Therefore, I conducted a test where I opened and immediately closed one hundred pages that contain Dataloom tables. The memory usage by Obsidian at the beginning of the test was 274MB. After the test, it increased to 498MB. It appears that some of the resources used by the tables are not being disposed properly. Even though the increase in memory usage is small (considering I have a total of 32GB RAM), the decrease in speed is noticeable. Here is a GIF showing the speed of page changes before and after the Obsidian startup and the test.
Steps to reproduce
Expected behavior
There is no decrease in speed. Reproducing this scenario on plain obsidian pages does not result in a decrease in speed.
Are you using the mobile app?
No
Obsidian debug info
Relevant log output
No response