flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Memory leak after after every pinned screenshot in OSX?

Open Nagisa12321 opened this issue 2 years ago • 2 comments

Flameshot Version

Flameshot v12.1.0 (96c2c82e)

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

OSX 12.4(21F79)

Description

After each pinned screenshot, it seems that the corresponding memory will not be released. Mac users do not have the habit of shutting down. After about three or four days after booting, the flameshot memory usage reaches 300M-500M.

Steps to reproduce

After each pinned screenshot, and click ESC to close it, You can see that the memory usage is getting more and more...

Screenshots or screen recordings

No response

System Information

OSX 12.4(21F79)

Nagisa12321 avatar Jul 24 '22 16:07 Nagisa12321

This is a relatively long video, to test if your hypothesis/statement is reproducible on Linux (X11). It seems you are right, although 500MB seems a bit far-fetched unless you are taking an extreme amount of very large pinned screenshot in those 4 days! Nonetheless, it seems this is an issue and should be addressed. Thank you for reporting it.

https://user-images.githubusercontent.com/390889/180730935-6e0067b8-41e9-406a-a5be-2998d59132a7.mp4

mmahmoudian avatar Jul 25 '22 08:07 mmahmoudian

I seem to be experiencing the same thing, about ~550MB of memory usage by Flameshot

BowTiedCrocodile avatar May 09 '24 00:05 BowTiedCrocodile