New Executable / Help wanted

General discussion about PS3 Media Server (no support or requests)

New Executable / Help wanted

Postby shagrath » Thu Mar 19, 2009 9:12 pm

Hi
here's a new executable for launching ps3mediaserver on Windows. I'd be happy if you could test it and report back. Goals are the following:

- Test on any Windows 32 bits and automatic download/use of Java 32 bits
- Test on any Windows 64 bits and automatic download/use of Java 32 bits
and the new feature:
- Test on any Windows 64 bits and automatic use of Java 64 bits, if installed (no Java x64 automatic download for now)

1st version (we never know): http://mogoo.free.fr/files/exeA/PMS.exe

Thanks ;)
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: New Executable / Help wanted

Postby wjharing » Thu Mar 19, 2009 11:28 pm

Windows 7, java64 and java32 installed.

[main] TRACE 22:25:00.763 Java 1.6.0_12-Sun Microsystems Inc.
[main] TRACE 22:25:00.763 OS Windows Vista x86 6.1


Windows is detected as 32bit, and I would assume it is using the 32bit java as well, despite java64 being installed as well.
wjharing
 
Posts: 30
Joined: Sat Jan 31, 2009 11:01 am

Re: New Executable / Help wanted

Postby Audioboxer » Thu Mar 19, 2009 11:54 pm

Vista x64 detected as x86.

However I can confirm when used in combination with the latest beta it stops trying to redownload Java every time it's opened.
Audioboxer
 
Posts: 86
Joined: Mon Feb 09, 2009 7:02 pm

Re: New Executable / Help wanted

Postby DaFalcon » Fri Mar 20, 2009 6:57 am

Thanks for all the hard work on this.

Using the .618 install with this new exe, a fresh install of Java x64 on Vista x64 I get this in the log.

[main] TRACE 22:50:56.475 Java 1.6.0_12-Sun Microsystems Inc.
[main] TRACE 22:50:56.476 OS Windows Vista amd64 6.0

Using the stock .618 install it downloaded Java 6 Update 10 32 bit (even though Update 12 is the latest).

So it seems to be fixed, for me at least.
DaFalcon
 
Posts: 4
Joined: Fri Mar 20, 2009 6:53 am

Re: New Executable / Help wanted

Postby BimmerGuy » Fri Mar 20, 2009 9:07 am

Looking good here. Vista 32bit with latest java. Runnign PMS 618.

[main] TRACE 04:05:02.809 Java 1.6.0_12-Sun Microsystems Inc.
[main] TRACE 04:05:02.809 OS Windows Vista x86 6.0

Hope this helps.
BimmerGuy
 
Posts: 5
Joined: Sun Jan 25, 2009 8:03 am

Re: New Executable / Help wanted

Postby Flak » Fri Mar 20, 2009 5:18 pm

Works fine here as well, though (and this has been the same with all versions) it still notices my 64bit vista install as x86.
Flak
 
Posts: 55
Joined: Wed Mar 04, 2009 9:40 pm

Re: New Executable / Help wanted

Postby zaphod » Fri Mar 20, 2009 6:06 pm

Tried the Exe..

Log:

n] TRACE 17:53:32.771 Starting Java PS3 Media Server v1.10.51
[main] TRACE 17:53:32.771 by shagrath / 2008-2009
[main] TRACE 17:53:32.772 http://ps3mediaserver.blogspot.com
[main] TRACE 17:53:32.772 http://code.google.com/p/ps3mediaserver
[main] TRACE 17:53:32.772
[main] TRACE 17:53:32.772 Java 1.6.0_12-ea-Sun Microsystems Inc.
[main] TRACE 17:53:32.773 OS Windows Vista amd64 6.0

Got Java installed as x64 and x86-Version.

It recognize the x64-Version.
The OS is also recognized as a x64-Version.

Works great for me.. Testing it more....


MY PC:
VIsta x64 Ultimate / Java 1.6.0_12 x64 Version installed
zaphod
 
Posts: 11
Joined: Sun Mar 01, 2009 12:20 am

Re: New Executable / Help wanted

Postby DaFalcon » Fri Mar 20, 2009 7:28 pm

So I decided to run a media scan on a large collection of MP3, FLAC, picture and video files to see how it works.
I've attached a snapshot of the process 11 hours after I started it. It seems to be having a huge number
of page faults and using a ton of memory and threads.

Have you watched your application with Process Monitor before? PSM seems to be constantly rereading the
entire medias.data.db file - which in my case is around 500MB currently. This can't be good for performance.

Also I have to ask, what is being scanned for in this process? If it's looking for ID3 tags and thumbnails,
then I have to believe that this shouldn't take days to complete.

Vista x64, Core i7 920, 6GB RAM, fast disks...
Attachments
psm.gif
Task Manager and Process Explorer
psm.gif (63.85 KiB) Viewed 16782 times
DaFalcon
 
Posts: 4
Joined: Fri Mar 20, 2009 6:53 am

Re: New Executable / Help wanted

Postby DaFalcon » Fri Mar 20, 2009 7:31 pm

As I was typing the previous post, this occured and the media scan stopped:

[Thread-23] TRACE 11:20:59.844 Exception in thread "Thread-23" java.lang.OutOfMemoryError: Requested memory: 1556480
[Thread-23] TRACE 11:20:59.845 at org.h2.util.ByteUtils.newBytes(ByteUtils.java:269)
[Thread-23] TRACE 11:20:59.845 at org.h2.store.DataPage.readValue(DataPage.java:616)
[Thread-23] TRACE 11:20:59.845 at org.h2.table.TableData.readRow(TableData.java:599)
[Thread-23] TRACE 11:20:59.845 at org.h2.table.TableData.read(TableData.java:586)
[Thread-23] TRACE 11:20:59.845 at org.h2.store.DiskFile.getRecord(DiskFile.java:607)
[Thread-23] TRACE 11:20:59.846 at org.h2.store.Storage.getRecord(Storage.java:94)
[Thread-23] TRACE 11:20:59.846 at org.h2.index.ScanIndex.getNextRow(ScanIndex.java:253)
[Thread-23] TRACE 11:20:59.846 at org.h2.index.ScanCursor.next(ScanCursor.java:71)
[Thread-23] TRACE 11:20:59.846 at org.h2.table.TableFilter.next(TableFilter.java:318)
[Thread-23] TRACE 11:20:59.846 at org.h2.command.dml.Select.queryFlat(Select.java:492)
[Thread-23] TRACE 11:20:59.847 at org.h2.command.dml.Select.queryWithoutCache(Select.java:560)
[Thread-23] TRACE 11:20:59.847 at org.h2.command.dml.Query.query(Query.java:233)
[Thread-23] TRACE 11:20:59.847 at org.h2.command.CommandContainer.query(CommandContainer.java:81)
[Thread-23] TRACE 11:20:59.847 at org.h2.command.Command.executeQueryLocal(Command.java:141)
[Thread-23] TRACE 11:20:59.847 at org.h2.command.Command.executeQuery(Command.java:122)
[Thread-23] TRACE 11:20:59.848 at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
[Thread-23] TRACE 11:20:59.848 at net.pms.dlna.DLNAMediaDatabase.getData(DLNAMediaDatabase.java:250)
[Thread-23] TRACE 11:20:59.848 at net.pms.dlna.RealFile.resolve(RealFile.java:231)
[Thread-23] TRACE 11:20:59.848 at net.pms.dlna.RootFolder.scan(RootFolder.java:106)
[Thread-23] TRACE 11:20:59.848 at net.pms.dlna.RootFolder.scan(RootFolder.java:108)
[Thread-23] TRACE 11:20:59.848 at net.pms.dlna.RootFolder.scan(RootFolder.java:108)
[Thread-23] TRACE 11:20:59.849 at net.pms.dlna.RootFolder.scan(RootFolder.java:79)
[Thread-23] TRACE 11:20:59.849 at net.pms.dlna.DLNAMediaDatabase.run(DLNAMediaDatabase.java:562)
[Thread-23] TRACE 11:20:59.850 at java.lang.Thread.run(Unknown Source)
[Thread-23] TRACE 11:20:59.850 Caused by: java.lang.OutOfMemoryError: Java heap space
[Thread-23] TRACE 11:20:59.851 at org.h2.util.ByteUtils.newBytes(ByteUtils.java:267)
[Thread-23] TRACE 11:20:59.962 ... 23 more
DaFalcon
 
Posts: 4
Joined: Fri Mar 20, 2009 6:53 am

Re: New Executable / Help wanted

Postby zaphod » Fri Mar 20, 2009 11:28 pm

if you have your database folder since the first versions..
try this:

- backup your current database folder
- delete all the content in the database folder
- start pms
- rebuild database

it helps for me..
zaphod
 
Posts: 11
Joined: Sun Mar 01, 2009 12:20 am

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests