Plugin "Markdown Image". Memory leaks
Posted: 13.08.2025 16:04
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
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