FAQ  •  Register  •  Login

What does System property -Xmx....m do?

<<

zomabes

Serviio newbie

Posts: 1

Joined: Thu Nov 18, 2021 7:47 pm

Post Thu Nov 18, 2021 9:57 pm

What does System property -Xmx....m do?

What does -Xmx...m memory option in the "Supported system properties" do and how is it configured?

What will trigger memory shortages?
I have one server set to -Xmx1024m (twice the basic memory).
What impact/benefit does it have for performance, index handling, audio (including handling large hi-res files) or is it mainly for video impact.
192.168.l.l routerlogin 192.168.0.1
What typical values could be used without wasting memory?

I cannot find any detailed guidance.
Last edited by zomabes on Fri Nov 26, 2021 10:28 pm, edited 1 time in total.
<<

atc98092

User avatar

DLNA master

Posts: 5205

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Nov 19, 2021 12:42 am

Re: What does System property -Xmx....m do?

It is used to expand the assigned memory for the Java virtual machine. In most cases there's no need to ever change it. I believe 1024 is the most any install should ever need. I personally have never encountered a need to change it. My primary Serviio machine has about 6000 media files. I know some users have far more than that, and perhaps increasing the memory is needed for them. It shouldn't make any difference for transcoded files, as FFMPEG is its own independent application, and isn't Java based. My personal thought is that it's mainly to support the Derby database, which is Java based.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.