Page 1 of 1

Starting in trace mode from cmd

Posted: Sun Dec 13, 2015 10:24 am
by anderstn
Hi

I'm having some weird issues with the media server on windows 10. One of them is that it won't start via the executable, or the bat script located in the same folder, so i was wondering if there was a command line parameter i could use to start the server with TRACE logging enabled.

Currently I'm using the following command to start the server: java -jar ums.jar -Xmx2048M. This works when i play back some files, and crashes with others.

Re: Starting in trace mode from cmd

Posted: Sun Dec 13, 2015 10:28 am
by Nadahar
Argument

Code: Select all

trace
will start UMS in trace mode. That probably translates to

Code: Select all

-Dtrace
when launching java manually.

Re: Starting in trace mode from cmd

Posted: Sun Dec 13, 2015 11:48 am
by anderstn
Thank you Nadahar. I was able to isolate the issue with the trace logs. As it turns out you have to write any memory parameters before you tell java which jar file to start otherwise they are completely ignored.