Page 1 of 1

UMS dies nightly/daily by itself

Posted: Sat Aug 17, 2013 10:23 pm
by emerson8
I've attached a debug.zip that's NOT trace ( in this first step anyway) as the bug itself isn't really re-producable as such.
It simply comes down to UMS maxing out on java heap, locked in at 25% CPU ( quadcore) and is simply dead.
This without anyone actually playing anything. It just happens more or less daily with UMS running.

The impression I've got, thought Im not 100% sure, is that it happens IF adding musicfiles to the shared folders.
I'll do a separate test without music added and check again.

Raised java heap to 1200, using 200mb as buffer. Normal use as looking at a movie, etc = no problems.
Issue being that over time, UMS simply runs out of java heap, hogs the cpu and stops responding.

Re: UMS dies nightly/daily by itself

Posted: Sat Aug 17, 2013 11:33 pm
by emerson8
adding a "trace-debug" log file. Died in approx 40min's. java out of memory.

Re: UMS dies nightly/daily by itself

Posted: Sun Aug 18, 2013 1:07 pm
by Optimus_prime
Whats your machine's installed memory size?
Also is it happening when the heap is set at default 768?

Re: UMS dies nightly/daily by itself

Posted: Sun Aug 18, 2013 7:29 pm
by emerson8
It's Xp/32 bit with 4 GB's of memory.

I'll try reverting to the standard mem size and see if that makes any change...

Re: UMS dies nightly/daily by itself

Posted: Mon Aug 19, 2013 1:18 am
by emerson8
Same thing takin it down to 800mb, maybe I have to try with the "exact" 768 and see if there's any difference.
Had it on trace, died on my just now, same CPU hog and java heap space error as before.

Re: UMS dies nightly/daily by itself

Posted: Mon Aug 19, 2013 8:08 pm
by Optimus_prime
Could you try 2.6.5 (the release version) and see if it makes a difference. Your logfile is huge, these two statements are why
org.h2.jdbc.JdbcSQLException: Out of memory.; SQL statement:
Caused by: java.lang.OutOfMemoryError: Requested memory: 387734
UMS is clearly running out of memory as it's attempting to add to it's database all your media. Also try the latest beta and see if it works

Re: UMS dies nightly/daily by itself

Posted: Tue Aug 20, 2013 3:30 am
by emerson8
I think that this issue is new. Been running UMS for quite a while and despite the occasional hickup, this 100% crash on a daily basis is completly new.

I could try reset the DB and start that from Scratch. Also, I think, not 100% confirmed, that this issue happens anytime after adding MP3's, Flac etc files to UMS.
As long as there's only been movies and videos, I've not seen it. Having had music = DB and what it looks like, the JPG's correlating to each album, pop's up in the logs.


I'll do a reset and a test of the latest build with standard settings and see how that plays out.
Post back later.

Re: UMS dies nightly/daily by itself

Posted: Tue Aug 20, 2013 7:30 am
by emerson8
Looks better so far with Build A3 and a reset-db.

Even did a rescan of all mediafiles without any hangs ( yet )

Re: UMS dies nightly/daily by itself

Posted: Tue Aug 20, 2013 6:32 pm
by Optimus_prime
There was a few fixes in 32bit mode, which is what your using. From the changelog:
General:
Fixed folder browsing in 32-bit mode