You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Memory leak when editing a big encrypted notes #3627
changed the title [-][BUG] this is a massive memleak when editing a big encrypted(?) note[/-][+][BUG] Memory leak when editing a big encrypted notes[/+]on May 26, 2026
Fixed a memory leak when switching between notes, especially noticeable with
large encrypted notes, by reusing the scripting current-note API object instead
of allocating a new one on every note change, releasing temporary note objects
from note-store script hooks, and clearing the decrypted encrypted-note editor
plus undo history when switching back to the regular editor; encrypted-note
typing now also avoids writing and refetching the full decrypted note text from
the in-memory database on every keystroke (for #3627)
Activity
pbek commentedon May 26, 2026
Can you please describe what you expected, what the actual behavior was, and step by step what you did?
ipariparipa commentedon May 26, 2026
fakutya)#3627 memory: do some optimizations
#3627 memory: add more optimizations while typing into notes
[-][BUG] this is a massive memleak when editing a big encrypted(?) note[/-][+][BUG] Memory leak when editing a big encrypted notes[/+]pbek commentedon May 26, 2026
26.5.16
large encrypted notes, by reusing the scripting current-note API object instead
of allocating a new one on every note change, releasing temporary note objects
from note-store script hooks, and clearing the decrypted encrypted-note editor
plus undo history when switching back to the regular editor; encrypted-note
typing now also avoids writing and refetching the full decrypted note text from
the in-memory database on every keystroke (for #3627)
pbek commentedon May 26, 2026
There now is a new release, could you please test it and report if it works for you?
ipariparipa commentedon May 27, 2026
this is now ok. (26.5.16)
pbek commentedon May 27, 2026
Great, thank you for testing!