Top rated and Recently played are broken [Resolved]

Need help? Post your questions here.

Moderator: moderators

Top rated and Recently played are broken [Resolved]

Postby Nico » Fri Jul 06, 2012 1:36 pm

Hi all,
Recently the Top rated, Most played and Recently played features are broken.

Server specs:
Version 4.6 (build 2583) – December 6, 2011
Server jetty-6.1.x, java 1.6.0_33, Windows 7 (171.5 MB / 732.9 MB)

Top rated error:
Code: Select all
StatementCallback; SQL [select path from user_rating where exists (select 1 from music_file_info where user_rating.path = music_file_info.path and enabled=true) group by path order by avg(rating) desc limit 10 offset 0]; out of memory; nested exception is java.sql.SQLException: out of memory

The out of memory statement is a bit strange as the server has plenty of memory available, via db.view all tables are accessible except the 'music_file_info' table that one returns an out of memory error. But when I open a folder it still displays the last time played and the rating for that specific folder.

Hope someone can assist, don't want to lose the ratings and most played details.
Nico
 
Posts: 24
Joined: Sat May 19, 2012 12:14 pm

Re: Top rated, Most played and Recently played are broken

Postby BKKKPewsey » Fri Jul 06, 2012 1:42 pm

How much memory have you allocated to SS (Control Panel - settings)?
If its at the default 100Mb, increase it to 256Mb

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Top rated, Most played and Recently played are broken

Postby Nico » Fri Jul 06, 2012 2:19 pm

Thanks for your reply BKKKPewsey, the service had 300mb allocated in the control settings when this error first appeared, it now has 800mb and still no luck.
Nico
 
Posts: 24
Joined: Sat May 19, 2012 12:14 pm

Re: Top rated, Most played and Recently played are broken

Postby BKKKPewsey » Fri Jul 06, 2012 3:25 pm

Yep I guessed as much looking at the server specs you posted - was just checking
It sounds as if that table has got corrupted somehow :(
Not sure how you can fix it if you cannot open it but perhaps some of our sql/HSQL gurus may have an idea :roll:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Top rated, Most played and Recently played are broken

Postby Nico » Mon Jul 09, 2012 12:17 pm

solved; SSD that was hosting the database was faulty, issue had nothing to do with Subsonic. resolved by swapping harddrive and restoring an backup.
Nico
 
Posts: 24
Joined: Sat May 19, 2012 12:14 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests