PIXI webgl : memory leak with graph

Steps to reproduce

open two panes, showing the same file. Then click on “open graph view”. The hit option-cmd-<- to see the file again. Repeat this a number of times.

Expected result

Stable memory use

Actual result

The activity monitor shows increasing memory use for “Obsidian Helper (GPU)”. Just in a few seconds it bloated upto 2.5GB! It slowly seems to go down a bit but even after 10+ minutes it is still showing 1.9GB while Obsidian shows two views on one file.

Environment

  • Operating system: MacOS Mojave
  • Obsidian version: v0.6.7
  • Using custom CSS: yes (but shouldn’t matter)

Additional information

Note that the rapid switching between graph view and normal file is to show that the use ramps up but even in normal use it seemed to bloat to close to 1GB.

We are aware of it. It’s leak within the graphic lib.

It should be fixed in 0.7. Let me know if you still have issues when we release it.

1 Like