I7-920 @ 3.9 ghz
6 GB RAM @ 1600 ghz
2xSSD raid-0 windows drive
4xHD raid-0 movie file drive
Gigabit network / Cat-6 cable
Java SDK 6.30
Recently I had trouble transcoding an MKV movie with subtitles using Mencoder. I kept running into buffer problems. I had to tweak things manually to get it to play without any problems. At the end of the day I had to do three things:
1) disable multiple cpu cores for Mencoder
2) reduce transcoder buffer max size to 450
3) increase the -Xmx768M parameter of PMS.bat to -Xmx1920M
I can't get that last step when the mediaserver is up as a service. There are two ways that I have found to do this. In wrapper.conf you are supposed to update the setting wrapper.java.maxmemory=. However if I choose value larger than 1768; then the media server can't start as a service. It gets the following error when trying to start:
" Windows could not start the PS3 Media Server on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 1. "
You can also add the parameter wrapper.java.additional.<x>=-Xmx1920M. However if I do that, the problems I was experiencing return. I think wrapper.java.maxmemory= defeats this parameter. It can also be set to 0 which will then use the Java default of 64MB. Setting it to 0 results in the same error message.
Anybody have an idea how to get a size of 1920M when starting as a service?