How do I increase the heap size?

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

How do I increase the heap size?

Postby Leopardi » Sun May 26, 2013 11:22 am

I upped the value to 1536MB and then 2048MB from wrapper.conf, but as nothing happens I'm clearly doing something wrong? If I just decrease the transcoding buffer to 200MB the skipping stops.
Leopardi
 
Posts: 38
Joined: Thu Jan 20, 2011 8:46 am

Re: How do I increase the heap size?

Postby mazey » Mon May 27, 2013 1:20 am

if u adjust the wrapper.conf it only applies if running it as a service, if ure not running it as a service u need to adjust the pms.bat file and run pms from the pms.bat file instead of the icon on ure desktop.
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 785
Joined: Sat Oct 24, 2009 9:07 am

Re: How do I increase the heap size?

Postby Leopardi » Mon May 27, 2013 2:16 pm

There is no PMS.bat, only PMS.conf which doesn't have the heap size command in the FAQ.
Leopardi
 
Posts: 38
Joined: Thu Jan 20, 2011 8:46 am

Re: How do I increase the heap size?

Postby ExSport » Mon May 27, 2013 3:05 pm

Post the debug.log
It seems you are checking wrong directory. Windows uses different folders for binaries and conf files...
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: How do I increase the heap size?

Postby Leopardi » Mon May 27, 2013 7:10 pm

Code: Select all
INFO  2013-05-26 13:17:24.302 [main] Starting PS3 Media Server 1.81.0
INFO  2013-05-26 13:17:24.315 [main] by shagrath / 2008-2013
INFO  2013-05-26 13:17:24.319 [main] http://ps3mediaserver.org
INFO  2013-05-26 13:17:24.320 [main] https://github.com/ps3mediaserver/ps3mediaserver
INFO  2013-05-26 13:17:24.321 [main]
INFO  2013-05-26 13:17:24.321 [main] Build: 5b9f782ef (2013-04-21)
INFO  2013-05-26 13:17:24.323 [main] Java: 1.7.0_21-Oracle Corporation
INFO  2013-05-26 13:17:24.324 [main] OS: Windows 7 x86 6.1
INFO  2013-05-26 13:17:24.326 [main] Encoding: UTF-8
INFO  2013-05-26 13:17:24.327 [main] Memory: 742 MB
INFO  2013-05-26 13:17:24.328 [main]
INFO  2013-05-26 13:17:24.328 [main] Working directory: C:\Program Files (x86)\PS3 Media Server
INFO  2013-05-26 13:17:24.334 [main] Temp directory: C:\Users\Leopardi\AppData\Local\Temp\ps3mediaserver
INFO  2013-05-26 13:17:24.335 [main] Logging config file: C:\Program Files (x86)\PS3 Media Server\logback.xml
INFO  2013-05-26 13:17:24.336 [main] debug.log: C:\Program Files (x86)\PS3 Media Server\debug.log
INFO  2013-05-26 13:17:24.336 [main]
INFO  2013-05-26 13:17:24.336 [main] Profile directory: C:\ProgramData\PMS
INFO  2013-05-26 13:17:24.336 [main] Profile path: C:\ProgramData\PMS\PMS.conf
INFO  2013-05-26 13:17:24.337 [main] Profile permissions: rw
INFO  2013-05-26 13:17:24.337 [main] Profile name: Leopardi-PC
INFO  2013-05-26 13:17:24.338 [main]
INFO  2013-05-26 13:17:24.395 [main] Loading MediaInfo library
INFO  2013-05-26 13:17:24.455 [main] Loaded MediaInfoLib - v0.7.62
INFO  2013-05-26 13:17:24.458 [main] Loading renderer configurations from C:\Program Files (x86)\PS3 Media Server\renderers
INFO  2013-05-26 13:17:24.459 [main] Loading configuration file: AirPlayer.conf
INFO  2013-05-26 13:17:24.461 [main] Loading configuration file: Android.conf
INFO  2013-05-26 13:17:24.463 [main] Loading configuration file: Bravia4500.conf
INFO  2013-05-26 13:17:24.464 [main] Loading configuration file: Bravia5500.conf
INFO  2013-05-26 13:17:24.465 [main] Loading configuration file: BraviaEX.conf
INFO  2013-05-26 13:17:24.468 [main] Loading configuration file: BraviaHX.conf
INFO  2013-05-26 13:17:24.470 [main] Loading configuration file: DirecTVHR.conf
INFO  2013-05-26 13:17:24.472 [main] Loading configuration file: DLinkDSM510.conf
INFO  2013-05-26 13:17:24.473 [main] Loading configuration file: FreeboxHD.conf
INFO  2013-05-26 13:17:24.473 [main] Loading configuration file: FreecomMusicPal.conf
INFO  2013-05-26 13:17:24.474 [main] Loading configuration file: iPad-iPhone.conf
INFO  2013-05-26 13:17:24.475 [main] Loading configuration file: Kuro.conf
INFO  2013-05-26 13:17:24.477 [main] Loading configuration file: LGST600.conf
INFO  2013-05-26 13:17:24.479 [main] Loading configuration file: N900.conf
INFO  2013-05-26 13:17:24.480 [main] Loading configuration file: OPPOBDP83.conf
INFO  2013-05-26 13:17:24.480 [main] Loading configuration file: OPPOBDP93.conf
INFO  2013-05-26 13:17:24.481 [main] Loading configuration file: Panasonic.conf
INFO  2013-05-26 13:17:24.483 [main] Loading configuration file: Philips.conf
INFO  2013-05-26 13:17:24.484 [main] Loading configuration file: PhilipsPFL.conf
INFO  2013-05-26 13:17:24.485 [main] Loading configuration file: PopcornHour.conf
INFO  2013-05-26 13:17:24.486 [main] Loading configuration file: PS3.conf
INFO  2013-05-26 13:17:24.488 [main] Loading configuration file: Realtek.conf
INFO  2013-05-26 13:17:24.489 [main] Loading configuration file: Samsung-SMT-G7400.conf
INFO  2013-05-26 13:17:24.490 [main] Loading configuration file: SamsungAllShare.conf
INFO  2013-05-26 13:17:24.491 [main] Loading configuration file: SamsungWiseLink.conf
INFO  2013-05-26 13:17:24.492 [main] Loading configuration file: Showtime3.conf
INFO  2013-05-26 13:17:24.493 [main] Loading configuration file: SMP-N100.conf
INFO  2013-05-26 13:17:24.494 [main] Loading configuration file: SonyBluray.conf
INFO  2013-05-26 13:17:24.495 [main] Loading configuration file: Streamium.conf
INFO  2013-05-26 13:17:24.496 [main] Loading configuration file: WDTVLive.conf
INFO  2013-05-26 13:17:24.497 [main] Loading configuration file: WMP.conf
INFO  2013-05-26 13:17:24.498 [main] Loading configuration file: XBMC.conf
INFO  2013-05-26 13:17:24.498 [main] Loading configuration file: XBOX360.conf
INFO  2013-05-26 13:17:24.499 [main] Loading configuration file: YamahaRXA1010.conf
INFO  2013-05-26 13:17:24.500 [main] Loading configuration file: YamahaRXV671.conf
INFO  2013-05-26 13:17:24.501 [main] Checking MPlayer font cache. It can take a minute or so.
DEBUG 2013-05-26 13:17:24.501 [main] launching: win32/mplayer.exe
DEBUG 2013-05-26 13:17:24.575 [main] launching: win32/mplayer.exe
INFO  2013-05-26 13:17:24.645 [main] Done!
INFO  2013-05-26 13:17:24.646 [main] Found VideoLAN version 2.0.6 at: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-05-26 13:17:24.649 [main] Searching for plugins in C:\Program Files (x86)\PS3 Media Server\plugins
INFO  2013-05-26 13:17:24.649 [main] No plugins found
INFO  2013-05-26 13:17:24.662 [main] Transcoder profile AviSynth/FFmpeg will not be used because AviSynth was not found
INFO  2013-05-26 13:17:24.662 [main] Registering transcoding engine: FFmpeg Audio
INFO  2013-05-26 13:17:24.665 [main] Registering transcoding engine: MEncoder
INFO  2013-05-26 13:17:24.665 [main] Transcoder profile AviSynth/MEncoder will not be used because AviSynth was not found
INFO  2013-05-26 13:17:24.665 [main] Registering transcoding engine: FFmpeg
DEBUG 2013-05-26 13:17:24.666 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.666 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.666 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.666 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-05-26 13:17:24.666 [main] Registering transcoding engine: VLC
INFO  2013-05-26 13:17:24.667 [main] Registering transcoding engine: MPlayer Audio
INFO  2013-05-26 13:17:24.667 [main] Registering transcoding engine: FFmpeg Web Video
INFO  2013-05-26 13:17:24.668 [main] Registering transcoding engine: MEncoder Web
INFO  2013-05-26 13:17:24.668 [main] Registering transcoding engine: MPlayer Video Dump
INFO  2013-05-26 13:17:24.668 [main] Registering transcoding engine: MPlayer Web
INFO  2013-05-26 13:17:24.669 [main] Registering transcoding engine: tsMuxeR
INFO  2013-05-26 13:17:24.670 [main] Registering transcoding engine: Audio High Fidelity
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-05-26 13:17:24.670 [main] Registering transcoding engine: VLC Audio Streaming
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
DEBUG 2013-05-26 13:17:24.670 [main] Found VLC version 2.0.6 in Windows Registry: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
INFO  2013-05-26 13:17:24.670 [main] Registering transcoding engine: VLC Video Streaming
INFO  2013-05-26 13:17:24.671 [main] Registering transcoding engine: FFmpeg DVR-MS Remux
INFO  2013-05-26 13:17:24.671 [main] Registering transcoding engine: dcraw Thumbnailer
INFO  2013-05-26 13:17:24.672 [main] AviSynth is not installed. You cannot use avsmencoder as a transcoding engine.
INFO  2013-05-26 13:17:24.727 [main] Using address /192.168.1.2 found on network interface: name:eth3 (Marvell Yukon 88E8059 PCI-E Gigabit Ethernet Controller)
INFO  2013-05-26 13:17:24.728 [main] Created socket: /192.168.1.2:5001
INFO  2013-05-26 13:17:24.771 [main] Checking shared folder: C:\Users\Leopardi\Downloads
DEBUG 2013-05-26 13:17:24.794 [main] Sending ALIVE...
INFO  2013-05-26 13:17:24.866 [main] Using the following UUID configured in PMS.conf: 86075abb-247a-4e85-8273-70e4ea0020c2
INFO  2013-05-26 13:17:25.118 [main] The server should now appear on your renderer
INFO  2013-05-26 13:17:25.226 [New I/O server worker #1-1] No IP filter specified, access granted to /192.168.1.3
INFO  2013-05-26 13:17:25.235 [pool-7-thread-1] Checking IP: 192.168.1.3 for Playstation 3
INFO  2013-05-26 13:17:25.690 [New I/O server worker #1-4] Checking shared folder: C:\Users\Leopardi\Downloads
INFO  2013-05-26 13:17:30.143 [pool-7-thread-1] Renderer Playstation 3 found on this address: 192.168.1.3
DEBUG 2013-05-26 13:17:30.146 [pool-7-thread-1] Starting ping -n 3 -l 64000 192.168.1.3
DEBUG 2013-05-26 13:17:30.164 [Thread-12]
DEBUG 2013-05-26 13:17:30.164 [Thread-12] Pinging 192.168.1.3 with 64000 bytes of data:
DEBUG 2013-05-26 13:17:30.177 [Thread-12] Reply from 192.168.1.3: bytes=64000 time=12ms TTL=255
DEBUG 2013-05-26 13:17:31.179 [Thread-12] Reply from 192.168.1.3: bytes=64000 time=13ms TTL=255
DEBUG 2013-05-26 13:17:32.146 [SpeedStats Failsafe] Stopping process: ping-0
INFO  2013-05-26 13:17:32.148 [pool-7-thread-1] Address /192.168.1.3 has an estimated network speed of: 85 Mb/s
Last edited by chocolateboy on Wed May 29, 2013 9:43 am, edited 1 time in total.
Reason: reformatted: please read the FAQ: http://tinyurl.com/4294qo2
Leopardi
 
Posts: 38
Joined: Thu Jan 20, 2011 8:46 am

Re: How do I increase the heap size?

Postby mazey » Tue May 28, 2013 2:00 am

pms.bat is in this folder C:\Program Files (x86)\PS3 Media Server

edit that file and launch using that and it will work.
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 785
Joined: Sat Oct 24, 2009 9:07 am

Re: How do I increase the heap size?

Postby Leopardi » Tue May 28, 2013 6:35 pm

mazey wrote:pms.bat is in this folder C:\Program Files (x86)\PS3 Media Server

edit that file and launch using that and it will work.

Yep! Works perfectly now with 400MB buffer. Though anything above it will result in skipping even if I go up to 2 gigs... let's just stick with 400 then.
Leopardi
 
Posts: 38
Joined: Thu Jan 20, 2011 8:46 am

Re: How do I increase the heap size?

Postby mazey » Wed May 29, 2013 1:04 am

you should be using a 400mb buffer anyway i dont know why u would need more for. i have used 400mb for years without issues. java 32 bit has a heapsize max of around 1500 so thats where it stops, unless u use 64 bit java then u can go higher, but really its fine how u set it up. im running 1536 java heapsize and 400mb buffer hasnt skipped not once. the bigger the buffer it eats into ure heapsize values which are limited to 1500 and are used for the java program/mencoder and various other things resulting in skipping.
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 785
Joined: Sat Oct 24, 2009 9:07 am


Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot] and 16 guests