Komet / MediaElch

Media Manager for Kodi
https://mediaelch.github.io/mediaelch-doc/about.html
GNU Lesser General Public License v3.0
852 stars 96 forks source link

MediaElch is slow - Non-responsive windows #1718

Open pokemaster974 opened 9 months ago

pokemaster974 commented 9 months ago

Describe the bug Executing action like marked as seen, saving, is followed by non responsive windows and very slowing application.

To Reproduce Steps to reproduce the behavior:

  1. Open MediaElch
  2. Do some actions
  3. Wait

Expected behavior Not having these non responsive windows.

Screenshots image image

MediaElch Version:

Operating System:

Additional context In the issue #878 there's something about an issue with temporary cache image. In my case, I saw that my folder have already 5000 images but even after closing the app images don't seem to be deleted. In the other issue, there's about 90k images, but in my case after clicking on about 300 movies (to mark them as seen) I've already a lot of images in the local AppData folder. Is it expected ?

To be honest, I don't know why but sometimes there's no slowing windows, and something action like saving can take about 10 minutes, without changing nothing in my processus.

bugwelle commented 9 months ago

Sadly a known issue. File operations are synchronous/blocking as of now. If you have a slow filesystem or use a network drive, MediaElch will slow down a lot. I've put effort in trying to make more coding asynchronous (see e.g. f2122c69f1c8fedbe40157ae851a425d0138be6d ).

Thanks for reporting.

pokemaster974 commented 9 months ago

Sadly a known issue. File operations are synchronous/blocking as of now. If you have a slow filesystem or use a network drive, MediaElch will slow down a lot. I've put effort in trying to make more coding asynchronous (see e.g. f2122c6 ).

Thanks for reporting.

Thanks for the reply. If you feel that my issue needs to be closed, feel free to close it. Regards.

bugwelle commented 9 months ago

No, you're right about the performance issue, of course! I will keep it open. :)

hermannx5 commented 9 months ago

Just wanted to confirm the issue. Strangely it's sometimes way worse. After restarting Mediaelch, performance is better and at least no freezes. But still, unfortunately it is an issue also for me...