Posts: 157
Joined: May 2019
Reputation:
6
jhoyos
Senior Member
Posts: 157
CPU usage is normal (around 20%). Memory usage (with 16GB Ram) is however pretty high, around 80%. It is true that a I have a virtual machine with VMWare where I have qbittorrent running, but still it seems quite big.
Regarding the problem, which I really don't understand... Is there anything I should do?
It is a problem with v4.1 in itself? will I have the same problem in v4.07? I just need to know if it is better to cancel the process of scanning and do it again with v4.07, or once it finish, the database will be compacted and I will have a good database file...
Posts: 157
Joined: May 2019
Reputation:
6
jhoyos
Senior Member
Posts: 157
Thanks for your response. I will stay tuned to see if the problem is solved, or at least gets better.
By the way... haven't you thought into a sqlite database so it can be accesed outside TMM and change some things directly? that would be really great, in fact.
Right now, I guess there is no way to access tmm database but using tmm, right?
Posts: 3,027
Joined: Oct 2012
Reputation:
189
Since we do not use any relational database internally, you will not have any luck querying that from outside tmm (the DB relies on a key/value map by the developers of the H2 database, but it stores all the entities in JSON format do have the best flexibility for migration/speed). We have tried to use a relational database in the past, but you also need an ORM to morph the database entries into Java object (which is a pain in the ass to do it per hand). Long story short -> no direct access to the database possible, but you can use your export engine to bring out almost everything from the database in a format you like.
One more point -> SQLite is native code and would need us to mix Java (tmm itself) and native code which can hit us hard with multi OS compatibility
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
Posts: 524
Joined: Aug 2015
Reputation:
26
If the error is not an important one, can you make it not showing up in a pop up window and just get it logged?
Posts: 157
Joined: May 2019
Reputation:
6
jhoyos
Senior Member
Posts: 157
It seems my database size has been reduced. Thanks for your help.