Posts: 421
Joined: Nov 2010
Reputation:
2
I have 6000+ movie in my collection and loading them into tmm(update) kills my system. I had to kill tmm from task manager to allow my system to be responsive.
Would it be possible to minimize memory usage?
THanks.
Posts: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
well... having only half amount, but TMM stays responsive while updating from filesystem.
But without proper information, we can't give you any advice...
- what TMM version
- what Java version
- 64bit Java?
- how much memore assigned to TMM/JAva?
- what does the memory information on the bottom left show while updating?
- Logfile?
- ...?
Posts: 421
Joined: Nov 2010
Reputation:
2
2018-10-10, 12:16
(This post was last modified: 2018-10-10, 12:25 by publicENEMY.)
I managed to get the error message.
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
at java.awt.image.Raster.createPackedRaster(Raster.java:467)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
at org.tinymediamanager.thirdparty.ImageLoader$InnerImageConsumer.setDimensions(ImageLoader.java:392)
at sun.awt.image.ImageDecoder.setDimensions(ImageDecoder.java:80)
at sun.awt.image.JPEGImageDecoder.sendHeaderInfo(JPEGImageDecoder.java:93)
at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:141)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:269)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:205)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:169)
TMM version : 2.9.13
Java version : 1.8.0 152
Memory usage bottom left : used - 204MB / free 251mb / max 455mb (it fluctuates)
Posts: 421
Joined: Nov 2010
Reputation:
2
I settle down by reducing the number of movie it scrape at one time. I do this by creating a folder and create symlinks to the movies that i want to scrape. worked well for me.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
if you are brave enough, you could try v3 (alpha, but it is quite stable the last half year) - there has been many optimization done
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