obsidian-slide-note
obsidian-slide-note copied to clipboard
Excessive RAM usage
opening a file containing multiple pdf pages adds a few megabytes of allocated memory. closing the file does not free ram. it keeps adding up until the entire pc is slow. the problem seems with duplicates of pdf.worker.min.js
Ops, I've never tried profiling memory before. Can you provide minimal instructions on how to reproduce this issue? Thanks.
To reproduce the issue:
- Enable Developer Tools (View > Toggle Developer Tools)
- Navigate to Sources
- Open a markdown file including slide-note-snippets
- Observe the amount of pdf.worker.min instances within the sources tab
- Closing the markdown file does not close the associated pdf workers.
- Opening the same markdown file again will result in new pdf.worker instances to be created.