Why does tMM use 30, 40 % CPU when it does not do anything?
#1
Why does tMM use 30, 40 % CPU when it does not do anything like it seems?
Newest stable Kodi (portable), Win 10 | skin: default Confluence
#2
It might be doing "background tasks", or at least from my experience, the problem is actually caused by your JAVA install. What OS are you using, and what version of JAVA, and which JAVA is it?
#3
with your install i suppose that you are running out of memory and the system is trying to free some memory all the time (aka garbage collection)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#4
Quote:It might be doing "background tasks",
There does not seem to be such tasks, I did not start any and / or tMM is just started.

Quote: the problem is actually caused by your JAVA install
What is wrong with it?

Win 10, 64 bit, Java:
Image

Quote: with your install i suppose that you are running out of memory and the system is trying to free some memory all the time (aka garbage collection)
So something like 50 % of memeory are not enough? So when Win tries to free memory the CPU usage is shown being needed by tMM? "Garbage collection"?
Newest stable Kodi (portable), Win 10 | skin: default Confluence
#5
you wrote at https://forum.kodi.tv/showthread.php?tid=333914 that the image cache task run out of memory - this in only possible on a setup which has not enough memory (it doesn't matter how much memory you have in your system - rather how much memory is available for the java process.. you see the values at the bottom of the screen)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#6
So if I understand it right tMM may use 30, 40 % immediately after having started it (sometimes it does, sometimes it does not) and without showing that java heap space message.

How could one give the java process more memory then?
Newest stable Kodi (portable), Win 10 | skin: default Confluence
#7
Since you are having constantly memory issues past 2, 3 years (b/c of your huge library), you should read your pasts posts again.
We have answered this to you so many times... :|
If you still didn't manage to find the memory setting in TMM (hint: it's in the settings!!!), we already showed you some other ideas, how to mitigate this... (splitting library, turn off cache, etc...)
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#8
Quote:Since you are having constantly memory issues past 2, 3 years (b/c of your huge library), you should read your pasts posts again.
We have answered this to you so many times... :
Yes, yes, of course! Thank you very much for your great answeres, very happy about them, yes, yes, I read them almost each week.

Quote:If you still didn't manage to find the memory setting in TMM (hint: it's in the settings!!!), we already showed you some other ideas, how to mitigate this... (splitting library, turn off cache, etc...)
The memory settings in tMM does not help, when set higher tMM does not start anymore at all, the highest possible value - I could find - is set. Well, many thanks for your great ideas, appreciate them very much, but they do have some little drawbacks I would think, making the use of tMM (less) senseless.

Thank you very much again!
Newest stable Kodi (portable), Win 10 | skin: default Confluence
#9
BTW: are you STILL using the 32bit version of Java (as seen on your old threads)?
Check the logfile after startup for an "os.arch" entry... what does it say?
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#10
Which log do you mean? launcher.log does not show anything like that search phrase.

The error log shows this after starting:

11:28:09.764 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_fanarttv.conf' - using defaults
11:28:10.123 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.album.universal.conf' - using defaults
11:28:11.411 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.artists.universal.conf' - using defaults
11:28:11.439 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.themoviedb.org.conf' - using defaults
11:28:11.458 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.tvdb.com.conf' - using defaults
11:28:11.630 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_moviemeter.conf' - using defaults
11:28:11.643 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_omdbapi.conf' - using defaults
11:28:11.804 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_tmdb.conf' - using defaults
11:28:11.851 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_tvdb.conf' - using defaults
11:28:21.946 ERROR org.tinymediamanager.scraper.http.Url - bad http response: 404 ; Not Found
11:28:21.946 ERROR org.tinymediamanager.scraper.http.Url - bad http response: 404 ; Not Found

Is there anything I should do?
Newest stable Kodi (portable), Win 10 | skin: default Confluence
#11
as always - tmm.log
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#12
The error log shows this after starting:

11:28:09.764 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_fanarttv.conf' - using defaults
11:28:10.123 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.album.universal.conf' - using defaults
11:28:11.411 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.artists.universal.conf' - using defaults
11:28:11.439 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.themoviedb.org.conf' - using defaults
11:28:11.458 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_metadata.tvdb.com.conf' - using defaults
11:28:11.630 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_moviemeter.conf' - using defaults
11:28:11.643 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_omdbapi.conf' - using defaults
11:28:11.804 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_tmdb.conf' - using defaults
11:28:11.851 WARN  org.tinymediamanager.scraper.config.MediaProviderConfig - Cannot load settings 'data\scraper_tvdb.conf' - using defaults
11:28:21.946 ERROR org.tinymediamanager.scraper.http.Url - bad http response: 404 ; Not Found
11:28:21.946 ERROR org.tinymediamanager.scraper.http.Url - bad http response: 404 ; Not Found

Is there anything I should do?
Newest stable Kodi (portable), Win 10 | skin: default Confluence
#13
You have no clue what i am talking about, do you?
We tried to lookup a value inside your logfile, and everything you do is keep posting some errors. Repeately.

I have no idea how i should further help you - i simply cannot convice you to open & search the tmm.log file, nor uploading it to some pastebin site.
The story repeats, and i (again) failed...
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image

Logout Mark Read Team Forum Stats Members Help
Why does tMM use 30, 40 % CPU when it does not do anything?0