Plugin "Markdown Image". Memory leaks

Solved bugs are moved into this topic...
Post Reply
king.midas
Posts: 42
Joined: 26.02.2019 13:47

Plugin "Markdown Image". Memory leaks

Post by king.midas »

The excellent `cuda_markdown_image` plugin has a memory leak issue: it seems that each image insertion reclaims memory. And closing the file, or deleting the line with the picture (followed by automatic deletion of the picture from the screen), does not free up memory.

How to repeat:
- Open Markdown file with picture
- Close it
- Open it again
- Repeat

In the task manager, you can see that Cudatext only takes up memory
Example:
https://www.dropbox.com/scl/fi/4i3epool ... msstb&dl=0

CudaText 1.226.1.1, win64-x86_64-win32, fpc 3.2.3
main Alexey
Posts: 2601
Joined: 25.08.2021 18:15

Re: Plugin "Markdown Image". Memory leaks

Post by main Alexey »

confirmed. thanks for report.
seems fixed ('htop' program shows all is ok).
beta
https://github.com/Alexey-T/CudaText/di ... t-14096576

OK now?
king.midas
Posts: 42
Joined: 26.02.2019 13:47

Re: Plugin "Markdown Image". Memory leaks

Post by king.midas »

main Alexey wrote: 13.08.2025 19:35 confirmed. thanks for report.
seems fixed ('htop' program shows all is ok).
beta
https://github.com/Alexey-T/CudaText/di ... t-14096576

OK now?
Yes, this work!
https://www.dropbox.com/scl/fi/d3f0jaa5 ... tcubv&dl=0
Thank you!
Post Reply