Clean install win7/64-Java8/64

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Clean install win7/64-Java8/64

Post by emerson8 »

wont mention anything related to ram or debug....

But, even a clean install on win7 /64, Java8/64 simply dies within a day with taskmgr showing some 400% higher usage of Java than either the .bat or registry states.


Been running ums, and pms before that, on xp/32 without any major issues for a long time,, this though....
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: Clean install win7/64-Java8/64

Post by emerson8 »

additional note; maybe it's a change by design,

clean install - recommended memory during install states 1280 (don't change unless..etc..etc)
then .bat still states xmx768m while registry states 1280.

Again, clean install and all subdir's removed completely (both install & program data )
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: Clean install win7/64-Java8/64

Post by emerson8 »

actually managed to get a debug.zip (with trace)
this with UMS running but not used, only a scan all files.

still, with UMS defaulting to the 768/1280 setup, it's usage according to taskmgr is above 2gb
Attachments
ums_dbg.zip
(2.04 MiB) Downloaded 417 times
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: Clean install win7/64-Java8/64

Post by emerson8 »

and additional note;
The memory hogging (again above 2gb) occurs without even viewing a single video. Just having UMS on.....
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Clean install win7/64-Java8/64

Post by ExSport »

Why it is happening memory usage is above -xmx parameter:
https://plumbr.eu/blog/memory-leaks/why ... y-than-xmx
http://stackoverflow.com/questions/1528 ... d-with-xmx
Answer: ByteBuffers, native libraries, JAVA overhead,...
Scanning huge libraries is a memory killer as all scanned files are cached in memory (info from MediaInfo, FFmpeg, thumbs,...)
It is a must to restart UMS after rescan or to avoid manual rescans (files are parsed as browsed in).
Also check th DB size as it is cached in memory I suppose so greater DB size than Java Heap Size is not good situation.
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: Clean install win7/64-Java8/64

Post by emerson8 »

Thanks ExSport...

That explains a lot. I got no issues extending the Java assignment even a bit higher if it helps.
My major issue is that after moving from XP/32 to Win7/64, it's sluggish and a crazy memory hog.

The number of files in terms of movies, series, etc isn't bigger, still now, it can reach approx 6gb ram when all music's been de-selected.
( with my music = no go at all )

So, strange thing is that it worked, and worked better, on xp/32.....
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: Clean install win7/64-Java8/64

Post by emerson8 »

Well, no idea why, but leaving the clean install of UMS running, it hogs some 7gb's and grinds the PC to a halt.....
Audioboxer
Posts: 15
Joined: Mon Nov 26, 2012 9:30 am

Re: Clean install win7/64-Java8/64

Post by Audioboxer »

Java has been bugging out and going to 99% CPU usage and freezing UMS ever since I went to Windows 10. Clean installed and still no go.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Clean install win7/64-Java8/64

Post by ExSport »

@emerson8 In posted links there is quite good info how to discover what exactly is using so much memory so try to make some tests on your system and post results with some useful info with help of provided links.
Post Reply