Error initializing PMS: configuration error java heap space

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Error initializing PMS: configuration error java heap space

Postby djkurtisc » Mon Jul 30, 2012 12:34 am

I am a basic user with no programing experience. I also have never posted on boards before, except for earlier today. I am not sure where I need to post this question. If this is not the correct place can you please include a link or specific place for me to post?

I am getting this error when starting PS3 Media Server:

Error initializing PMS: configuration error java heap space

Any idea what this is and how to fix it?

I am running a Mac Mini Server
2GHZ intel Core i7
4GB 1333 MHz DDR3
OSX 10.7.4

I have attached the debug.log


djkurtisc
djkurtisc
 
Posts: 3
Joined: Sun Jul 29, 2012 5:25 pm

Re: Error initializing PMS: configuration error java heap sp

Postby poiromaniax » Thu Aug 02, 2012 5:02 pm

Are you running the latest java?
poiromaniax
 
Posts: 72
Joined: Tue May 17, 2011 11:51 am

Re: Error initializing PMS: configuration error java heap sp

Postby djkurtisc » Fri Aug 03, 2012 6:55 am

According to the Apple I am. I went to Java.com to see if i could download a newer version and this is what I got: Apple supplies their own version of Java. Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac.
djkurtisc
 
Posts: 3
Joined: Sun Jul 29, 2012 5:25 pm

Re: Error initializing PMS: configuration error java heap sp

Postby poiromaniax » Mon Aug 06, 2012 1:35 pm

Did you always have this problem, or is it a recent thing?

What changed in your configuration?

Also, what version of PMS are you running?
poiromaniax
 
Posts: 72
Joined: Tue May 17, 2011 11:51 am

Re: Error initializing PMS: configuration error java heap sp

Postby foogle » Fri Aug 10, 2012 10:53 pm

I have the same error. I think it's due to a large media folder with several thousand files but would like to know if others have large collections served from pms.

It happened with the last two versions.

I couldn't attach debug.log, so here it is:
Code: Select all
DEBUG 2012-08-10 22:12:54.979 [main] Choosing java look and feel: com.apple.laf.AquaLookAndFeel
INFO  2012-08-10 22:12:56.587 [main] Starting PS3 Media Server 1.60.0
INFO  2012-08-10 22:12:56.589 [main] by shagrath / 2008-2012
INFO  2012-08-10 22:12:56.590 [main] http://ps3mediaserver.org
INFO  2012-08-10 22:12:56.590 [main] https://github.com/ps3mediaserver/ps3mediaserver
INFO  2012-08-10 22:12:56.591 [main] http://ps3mediaserver.blogspot.com
INFO  2012-08-10 22:12:56.591 [main]
INFO  2012-08-10 22:12:56.592 [main] Build: f097bb0d7 (2012-07-17)
INFO  2012-08-10 22:12:56.592 [main] Java: 1.6.0_33-Apple Inc.
INFO  2012-08-10 22:12:56.593 [main] OS: Mac OS X x86_64 10.8
INFO  2012-08-10 22:12:56.593 [main] Encoding: UTF-8
INFO  2012-08-10 22:12:56.594 [main] Memory: 763 MB
INFO  2012-08-10 22:12:56.594 [main]
INFO  2012-08-10 22:12:56.595 [main] Working directory: /Applications/PS3 Media Server.app/Contents/Resources/Java
INFO  2012-08-10 22:12:56.600 [main] Temp folder: /var/folders/3m/8hb3j8356n7c7cj1pgdtf2n00000gn/T/ps3mediaserver
INFO  2012-08-10 22:12:56.600 [main] Logging config file: /Applications/PS3 Media Server.app/Contents/Resources/Java/logback.xml
INFO  2012-08-10 22:12:56.601 [main] debug.log: /Applications/PS3 Media Server.app/Contents/Resources/Java/debug.log
INFO  2012-08-10 22:12:56.601 [main]
INFO  2012-08-10 22:12:56.602 [main] Profile directory: /Users/UserName/Library/Application Support/PMS
INFO  2012-08-10 22:12:56.602 [main] Profile path: /Users/UserName/Library/Application Support/PMS/PMS.conf
INFO  2012-08-10 22:12:56.602 [main] Profile status: rw
INFO  2012-08-10 22:12:56.603 [main] Profile name: ComputerName
INFO  2012-08-10 22:12:56.603 [main]
INFO  2012-08-10 22:12:56.606 [main] Loading MediaInfo library
INFO  2012-08-10 22:12:56.701 [main] Loaded MediaInfoLib - v0.7.58
INFO  2012-08-10 22:12:56.711 [main] Loading renderer configurations from /Applications/PS3 Media Server.app/Contents/Resources/Java/renderers
INFO  2012-08-10 22:12:56.711 [main] Loading configuration file: AirPlayer.conf
DEBUG 2012-08-10 22:12:56.712 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/AirPlayer.conf
INFO  2012-08-10 22:12:56.734 [main] Loading configuration file: Android.conf
DEBUG 2012-08-10 22:12:56.735 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Android.conf
INFO  2012-08-10 22:12:56.736 [main] Loading configuration file: Bravia4500.conf
DEBUG 2012-08-10 22:12:56.737 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Bravia4500.conf
INFO  2012-08-10 22:12:56.740 [main] Loading configuration file: Bravia5500.conf
DEBUG 2012-08-10 22:12:56.740 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Bravia5500.conf
INFO  2012-08-10 22:12:56.745 [main] Loading configuration file: BraviaEX.conf
DEBUG 2012-08-10 22:12:56.746 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/BraviaEX.conf
INFO  2012-08-10 22:12:56.750 [main] Loading configuration file: DirecTVHR.conf
DEBUG 2012-08-10 22:12:56.751 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/DirecTVHR.conf
INFO  2012-08-10 22:12:56.753 [main] Loading configuration file: DLinkDSM510.conf
DEBUG 2012-08-10 22:12:56.754 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/DLinkDSM510.conf
INFO  2012-08-10 22:12:56.756 [main] Loading configuration file: FreeboxHD.conf
DEBUG 2012-08-10 22:12:56.757 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/FreeboxHD.conf
INFO  2012-08-10 22:12:56.758 [main] Loading configuration file: FreecomMusicPal.conf
DEBUG 2012-08-10 22:12:56.759 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/FreecomMusicPal.conf
INFO  2012-08-10 22:12:56.761 [main] Loading configuration file: iPad-iPhone.conf
DEBUG 2012-08-10 22:12:56.762 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/iPad-iPhone.conf
INFO  2012-08-10 22:12:56.766 [main] Loading configuration file: Kuro.conf
DEBUG 2012-08-10 22:12:56.769 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Kuro.conf
INFO  2012-08-10 22:12:56.772 [main] Loading configuration file: LGST600.conf
DEBUG 2012-08-10 22:12:56.773 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/LGST600.conf
INFO  2012-08-10 22:12:56.847 [main] Loading configuration file: N900.conf
DEBUG 2012-08-10 22:12:56.848 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/N900.conf
INFO  2012-08-10 22:12:56.849 [main] Loading configuration file: OPPOBDP83.conf
DEBUG 2012-08-10 22:12:56.850 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/OPPOBDP83.conf
INFO  2012-08-10 22:12:56.852 [main] Loading configuration file: OPPOBDP93.conf
DEBUG 2012-08-10 22:12:56.852 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/OPPOBDP93.conf
INFO  2012-08-10 22:12:56.854 [main] Loading configuration file: Panasonic.conf
DEBUG 2012-08-10 22:12:56.855 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Panasonic.conf
INFO  2012-08-10 22:12:56.858 [main] Loading configuration file: Philips.conf
DEBUG 2012-08-10 22:12:56.859 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Philips.conf
INFO  2012-08-10 22:12:56.861 [main] Loading configuration file: PhilipsPFL.conf
DEBUG 2012-08-10 22:12:56.862 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/PhilipsPFL.conf
INFO  2012-08-10 22:12:56.866 [main] Loading configuration file: PopcornHour.conf
DEBUG 2012-08-10 22:12:56.867 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/PopcornHour.conf
INFO  2012-08-10 22:12:56.869 [main] Loading configuration file: PS3.conf
DEBUG 2012-08-10 22:12:56.873 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/PS3.conf
INFO  2012-08-10 22:12:56.893 [main] Loading configuration file: Realtek.conf
DEBUG 2012-08-10 22:12:56.894 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Realtek.conf
INFO  2012-08-10 22:12:56.896 [main] Loading configuration file: SamsungAllShare.conf
DEBUG 2012-08-10 22:12:56.896 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/SamsungAllShare.conf
INFO  2012-08-10 22:12:56.898 [main] Loading configuration file: SamsungWiseLink.conf
DEBUG 2012-08-10 22:12:56.899 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/SamsungWiseLink.conf
INFO  2012-08-10 22:12:56.901 [main] Loading configuration file: Showtime3.conf
DEBUG 2012-08-10 22:12:56.901 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Showtime3.conf
INFO  2012-08-10 22:12:56.914 [main] Loading configuration file: SMP-N100.conf
DEBUG 2012-08-10 22:12:56.914 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/SMP-N100.conf
INFO  2012-08-10 22:12:56.918 [main] Loading configuration file: SonyBluray.conf
DEBUG 2012-08-10 22:12:56.919 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/SonyBluray.conf
INFO  2012-08-10 22:12:56.921 [main] Loading configuration file: Streamium.conf
DEBUG 2012-08-10 22:12:56.922 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/Streamium.conf
INFO  2012-08-10 22:12:56.923 [main] Loading configuration file: WDTVLive.conf
DEBUG 2012-08-10 22:12:56.924 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/WDTVLive.conf
INFO  2012-08-10 22:12:56.925 [main] Loading configuration file: WMP.conf
DEBUG 2012-08-10 22:12:56.926 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/WMP.conf
INFO  2012-08-10 22:12:56.927 [main] Loading configuration file: XBMC.conf
DEBUG 2012-08-10 22:12:56.928 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/XBMC.conf
INFO  2012-08-10 22:12:56.929 [main] Loading configuration file: XBOX360.conf
DEBUG 2012-08-10 22:12:56.930 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/XBOX360.conf
INFO  2012-08-10 22:12:56.932 [main] Loading configuration file: YamahaRXV671.conf
DEBUG 2012-08-10 22:12:56.932 [main] Base path set to file:///Applications/PS3%20Media%20Server.app/Contents/Resources/Java/renderers/YamahaRXV671.conf
INFO  2012-08-10 22:12:56.933 [main] Checking MPlayer font cache. It can take a minute or so.
DEBUG 2012-08-10 22:12:56.934 [main] launching: osx/mplayer
INFO  2012-08-10 22:12:57.103 [main] Done!
INFO  2012-08-10 22:12:57.111 [main] Searching for plugins in /Applications/PS3 Media Server.app/Contents/Resources/Java/plugins
INFO  2012-08-10 22:12:57.112 [main] No plugins found
INFO  2012-08-10 22:12:57.123 [main] Registering transcoding engine: FFmpeg Audio
INFO  2012-08-10 22:12:57.128 [main] Registering transcoding engine: MEncoder
INFO  2012-08-10 22:12:57.128 [main] Registering transcoding engine: FFmpeg
INFO  2012-08-10 22:12:57.129 [main] Registering transcoding engine: MPlayer Audio
INFO  2012-08-10 22:12:57.129 [main] Registering transcoding engine: MEncoder Web
INFO  2012-08-10 22:12:57.130 [main] Registering transcoding engine: MPlayer Video Dump
INFO  2012-08-10 22:12:57.130 [main] Registering transcoding engine: MPlayer Web
INFO  2012-08-10 22:12:57.131 [main] Registering transcoding engine: tsMuxeR
INFO  2012-08-10 22:12:57.132 [main] Registering transcoding engine: Audio High Fidelity
INFO  2012-08-10 22:12:57.132 [main] Registering transcoding engine: VLC Audio Streaming
INFO  2012-08-10 22:12:57.132 [main] Registering transcoding engine: VLC Video Streaming
INFO  2012-08-10 22:12:57.133 [main] Registering transcoding engine: dcraw Thumbnailer
INFO  2012-08-10 22:12:57.206 [main] Using address /IPA.IPB.IPC.4 found on network interface: name:en0 (en0)
INFO  2012-08-10 22:12:57.207 [main] Created socket: /IPA.IPB.IPC.4:5001
DEBUG 2012-08-10 22:12:57.341 [main] Using database URL: jdbc:h2:database/medias
INFO  2012-08-10 22:12:57.341 [main] Using database located at: /Applications/PS3 Media Server.app/Contents/Resources/Java/database
DEBUG 2012-08-10 22:12:57.760 [main] Database file count: 0
DEBUG 2012-08-10 22:12:57.761 [main] Database version: 1.60.0
INFO  2012-08-10 22:12:57.769 [main] A tiny cache admin interface is available at: http://IPA.IPB.IPC.4:5001/console/home
INFO  2012-08-10 22:12:57.776 [main] Checking shared folder: /Users/UserName/Music
INFO  2012-08-10 22:13:20.308 [New I/O server worker #1-1] No IP filter specified, access granted to /IPA.IPB.IPC.105
INFO  2012-08-10 22:13:20.340 [pool-4-thread-1] Checking IP: IPA.IPB.IPC.105 for Playstation 3
INFO  2012-08-10 22:13:20.393 [New I/O server worker #1-3] Checking shared folder: /Users/UserName/Music
INFO  2012-08-10 22:13:20.499 [pool-4-thread-1] Renderer Playstation 3 found on this address: IPA.IPB.IPC.105
DEBUG 2012-08-10 22:13:20.522 [pool-4-thread-1] Starting ping -c 3 -s 64000 IPA.IPB.IPC.105
DEBUG 2012-08-10 22:13:20.555 [Thread-13] ping: sendto: Message too long
DEBUG 2012-08-10 22:13:20.556 [pool-4-thread-1] Unix process ID (ping): 55941
DEBUG 2012-08-10 22:13:21.568 [Thread-13] ping: sendto: Message too long
DEBUG 2012-08-10 22:13:22.583 [Thread-13] ping: sendto: Message too long
DEBUG 2012-08-10 22:13:22.583 [SpeedStats Failsafe] Stopping Unix process 55941: ping-0
INFO  2012-08-10 22:14:19.427 [AWT-EventQueue-0] Configuration saved to: /Users/UserName/Library/Application Support/PMS/PMS.conf
INFO  2012-08-10 22:16:07.627 [main] Configuration error: Java heap space
DEBUG 2012-08-10 22:16:07.648 [background-task-0] singleton task restart started
DEBUG 2012-08-10 22:16:07.648 [background-task-0-restart(0)] task started
INFO  2012-08-10 22:16:07.650 [background-task-0-restart(0)] Sending BYEBYE...
INFO  2012-08-10 22:16:07.661 [background-task-0-restart(0)] Using the following UUID configured in PMS.conf: b04a80b2-2c5c-3086-a611-cd5d25693368
INFO  2012-08-10 22:16:10.915 [background-task-0-restart(0)] Stopping server on host IPA.IPB.IPC.4 and port 5001...
WARN  2012-08-10 22:16:50.958 [New I/O server worker #1-2] Interrupted while waiting for stream for processnull
DEBUG 2012-08-10 22:18:58.183 [New I/O server worker #1-2] Caught exception
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2882) ~[na:1.6.0_33]
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) ~[na:1.6.0_33]
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) ~[na:1.6.0_33]
   at java.lang.StringBuilder.append(StringBuilder.java:119) ~[na:1.6.0_33]
   at net.pms.xmlwise.XmlElement.<init>(XmlElement.java:39) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.XmlElement.<init>(XmlElement.java:36) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.XmlElement.<init>(XmlElement.java:36) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.XmlElement.<init>(XmlElement.java:36) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.XmlElement.<init>(XmlElement.java:36) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.Xmlwise.loadXml(Xmlwise.java:127) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.Plist.load(Plist.java:156) ~[pms-1.60.0.jar:na]
   at net.pms.xmlwise.Plist.load(Plist.java:168) ~[pms-1.60.0.jar:na]
   at net.pms.dlna.RootFolder.getiTunesFolder(RootFolder.java:633) ~[pms-1.60.0.jar:na]
   at net.pms.dlna.RootFolder.discoverChildren(RootFolder.java:116) ~[pms-1.60.0.jar:na]
   at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:722) ~[pms-1.60.0.jar:na]
   at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:667) ~[pms-1.60.0.jar:na]
   at net.pms.network.RequestV2.answer(RequestV2.java:625) ~[pms-1.60.0.jar:na]
   at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:300) ~[pms-1.60.0.jar:na]
   at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:255) ~[pms-1.60.0.jar:na]
   at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:148) ~[netty-3.2.4.Final.jar:na]
   at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[netty-3.2.4.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[netty-3.2.4.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:522) ~[netty-3.2.4.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[netty-3.2.4.Final.jar:na]
WARN  2012-08-10 22:18:58.194 [New I/O server worker #1-3] Interrupted while waiting for stream for processnull
DEBUG 2012-08-10 22:24:59.654 [New I/O server worker #1-3] Caught exception
java.lang.OutOfMemoryError: Java heap space

UserName, ComputerName, ipa, ipb, ipc are replacements.

The Music folder has 7345 files, 5763 folders. I added the iTunes media library and that has 35246 files.

Any clues?
foogle
 
Posts: 2
Joined: Fri Aug 10, 2012 10:20 pm

Re: Error initializing PMS: configuration error java heap sp

Postby chocolateboy » Fri Aug 10, 2012 11:00 pm

chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am


Return to Mac OS X Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests