FAQ  •  Register  •  Login

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

<<

Firoj

Serviio newbie

Posts: 17

Joined: Thu Dec 10, 2020 10:37 pm

Post Mon Nov 01, 2021 10:35 am

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.
https://19216801.onl/ https://routerlogin.uno/
What typical values could be used without wasting memory?
I cannot find any detailed guidance.
Last edited by Firoj on Tue Nov 02, 2021 2:08 pm, edited 1 time in total.
<<

atc98092

User avatar

DLNA master

Posts: 5228

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Nov 01, 2021 6:23 pm

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

It reserves a specific amount of memory for the Java virtual machine. For most users, there's no need to change anything. Mine is at the default 512M and never have any issues. I don't have a huge library, only about 4000 titles. It might be of a benefit with larger libraries, to perhaps make browsing and loading media information faster. But it has no impact on transcoding, as that doesn't run through Java. It's a separate application (ffmpeg) that Serviio calls if needed.
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 6 guests

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