[Solved] Memory leak with Java 9

General discussion about Universal Media Server (no support or requests)
Post Reply
N3phastus
Posts: 21
Joined: Thu Jul 17, 2014 1:20 am

[Solved] Memory leak with Java 9

Post by N3phastus »

I usually would leave UMS running nonstop, but now with version 7.01, after 24 hours running, using it or not, memory goes up to 4 GB and CPU up to 80 / 90 % !!!

Did you build in a bitcoin miner in de latest version ???

Please fix it ASAP

cheers

N3
N3phastus
Posts: 21
Joined: Thu Jul 17, 2014 1:20 am

Re: Memory leak with Java 9

Post by N3phastus »

No one ???

ok, going back to 6.8
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Memory leak with Java 9

Post by boss »

Yes, it is a problem in 7.01. Actually it was happening in earlier versions as well but just not as bad.
The issue is already known and the subject of a few other threads and the team is working on resolving the issue.

I run UMS 24/7 on a Gentoo Linux headless server. I found that turning off caching, whilst not stopping the issue, prolonged the time until UMS crashed.
My solution was to run a cron job every 2 days to restart UMS.
N3phastus
Posts: 21
Joined: Thu Jul 17, 2014 1:20 am

Re: Memory leak with Java 9

Post by N3phastus »

thank you Boss
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Memory leak with Java 9

Post by SubJunk »

We have a possible fix for this to test, are you interested N3phastus? If you let me know your operating system I will upload a test version
overlordz
Posts: 1
Joined: Fri Nov 23, 2018 1:12 pm

Re: Memory leak with Java 9

Post by overlordz »

Hi,

I can test it if you want, i have notice the memory leak issue using Java9, OS: Windows

i'm not using the standalone version, but can give it a try also as well.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Memory leak with Java 9

Post by SubJunk »

Java 9 has been discontinued and was only available for a short time so I recommend not using it anymore
Post Reply