NO-ob / LoliSnatcher_Droid

A booru client with support for batch downloading
GNU Affero General Public License v3.0
371 stars 23 forks source link

Linux Memory leak #212

Open drwankingstein opened 1 year ago

drwankingstein commented 1 year ago

Seems to be quite severe memory issues on linux. dart's memory profile is only showing high RSS usage. have not been able to replicate it using a minimal reproducible example. these were taken with the latest git commit d8c2f31 at the time of checking VLC is 3.0.18 both flutter stable and master were verified to have issues.

these were what I got from ksysmons Memory usage RSS is appropriately only a smidgen larger

these numbers were with flutter stable

how it was triggered | debug | release passive | 500M | 150-200M Load/unload image | 1G | 500M (first load is 200M, second is 280M...) Load/unload video | 700M-1G | 400-500M Load/unload vid,img | 1.3G | 800M Load/unload vid,img,vid | 1.6G | 1.1G

flutter master was even worse, I only tested loading/unloading images and videos

images were up to 500m on release videos 400-600m

drwankingstein commented 1 year ago

below is a screenshot from memory usage observatory in debug mode image