Huge number of movie kills my system to a crawl
#1
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.
Reply
#2
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?
- ...?
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
[Image: project_thin_badge?format=gif]
Reply
#3
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)
Reply
#4
Great Smile
Go to settings, and increase memory a bit (and restart)?

Be aware, that Java needs this memory as a "single free block" inside your memory.
So even with 16gig of ram, it does not necessarily mean, that TMM would start with 2gig of ram...
If it does not start anymore, try deleting (or editing) the extra.txt file manually.
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
[Image: project_thin_badge?format=gif]
Reply
#5
Image
Just FYI. This time I havent increased the heap size. I will increase heap size and report back.
Reply
#6
yes, loading/scaling/buffering these big images (full hd fanarts) consumes very much memory.. this is the first place where you hit memory limits Wink
with 6000 movies you should increase the heap size by at least 256mb
tinyMediaManager - THE media manager of your choice - available for Windows, Mac OSX and Linux
Help us translate tinyMediaManager Weblate
[Image: 1qbFVy]
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Huge number of movie kills my system to a crawl00