MediaElch icon indicating copy to clipboard operation
MediaElch copied to clipboard

MediaElch is slow - Non-responsive windows

Open pokemaster974 opened this issue 1 year ago • 4 comments

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:

  • [ ] 2.10.6 (stable)

Operating System:

  • [ ] Windows 10

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.

pokemaster974 avatar Feb 01 '24 23:02 pokemaster974

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.

bugwelle avatar Feb 08 '24 18:02 bugwelle

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.

pokemaster974 avatar Feb 09 '24 15:02 pokemaster974

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

bugwelle avatar Feb 12 '24 17:02 bugwelle

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...

hermannx5 avatar Feb 14 '24 18:02 hermannx5