[Solved] Java Out of Memory error during file scan
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
[Solved] Java Out of Memory error during file scan
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:
- Attachments
-
- ums_dbg.zip
- (344.76 KiB) Downloaded 406 times
Re: Java Out of Memory error during file scan
Try to set "hide_empty_folders" to the default and reset the cache.
Code: Select all
hide_empty_folders = false
Re: Java Out of Memory error during file scan
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
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 ?
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
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
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
just tested Version 6.5.3 and it has fixed all the errors I had. thanks