rnote
rnote copied to clipboard
High memory usage
Describe the bug
In some documents (with a lot of written text and images), memory usage jumps to multiple gigabytes when panning and zooming out aggressively.
To Reproduce
I don't really know which things in the document are causing the issue, but I can provide a document that triggers the issue (it's some notes I took while studying for an exam, shouldn't contain anything sensitive).
Steps to reproduce the behavior:
- Open the provided file
- Zoom in and start panning the window
- Zoom out as far as you can
- Repeat until memory usage increases to multiple gigabytes. It may take a little while to reproduce (a few minutes at most), but after a seemingly random amount of time, memory usage instantly jumps from around 1.5GB to 4GB.
Expected behavior
I expected memory usage to be much lower.
Console Output
Nothing besides the initial log message: DEBUG rnote::app::imp > ... env_logger initialized
.
Desktop:
- OS: Fedora Linux
- Version: 37
- Installation source: Flatpak (Rnote 0.5.12)
- Desktop Environment: GNOME 43.2
Additional context
I don't know what exactly causes it. Maybe some tools can be used to figure out what's consuming so much memory?