Page 1 of 1
[Solved] Java Out of Memory error during file scan
Posted: Tue Dec 27, 2016 8:59 am
by moyers32
Hi, I keep getting "Java Out of Memory error" when doing a file scan in UMS 6.5.2 on Windows Server 2012 R2. I have changed the Heap size in Java to 10GB but the error still occurs just a little bit later. I did notice it is trying to load a lot of files at once. Attached is the log. My server configuration is the program data is on C: and all my media is on the other drive D:
Re: Java Out of Memory error during file scan
Posted: Wed Dec 28, 2016 10:18 am
by valib
Try to set "hide_empty_folders" to the default
and reset the cache.
Re: Java Out of Memory error during file scan
Posted: Sun Jan 15, 2017 5:19 am
by moyers32
Tried your suggestion and I get the exact same thing, Out of memory error in Java Heap Space. Any other suggestions? This computer is a Domain Controller as well.
Re: Java Out of Memory error during file scan
Posted: Wed Jan 18, 2017 1:45 pm
by Sami32
Hi moyers32,
you can try that:
viewtopic.php?f=9&t=9116&p=29425#p29425
Many other Java collector optimization are possible...but it'll be only a workaround for a possible memory leak or too many temporary objects and tons of weakly-referenced objects in an already very memory-constrained environment, IMO.
Did you get that issue using UMS version prior to 6.5.2 ?
Re: Java Out of Memory error during file scan
Posted: Tue Jan 24, 2017 7:10 am
by moyers32
Tried all the switches from the link provided and nothing has changed. It is still giving me the same error. I have not used any other version since this is the first time using UMS and I needed the compatibility with windows server 2012 r2.
Re: Java Out of Memory error during file scan
Posted: Tue Jan 24, 2017 7:15 am
by Sami32
For testing purpose, i suggest you to try UMS 6.5.0 version instead, and return feedback.
Re: Java Out of Memory error during file scan
Posted: Tue Jan 24, 2017 8:50 am
by moyers32
just tested Version 6.5.3 and it has fixed all the errors I had. thanks