I'm getting this problem and I'm not using Tomcat.
I'm using Linux Mint 9 (Ubuntu) and Subsonic 4.01
This is what it shows when it shows.
3,130 artists
2,730 albums
29,393 songs
148.70 GB (~ 2,309 hours)
This disappears when I include a link to a folder that almost doubles the file count.
So I have started to think its to do with the indexing going over a maximum. Perhaps the Java Heap but I dont really know, I'm only going on what I have managed to pick up from here and there.
I do know that if I remove the extra folders, restart the subsonic service and then re-index, it comes back to the above listing.
Sometimes I get it to show something like
300 GB (~4,600 hours)
But I cant repeat that every time as it usually disappears.
Anyone able to say how to increase the Java heap size so I can see if it fixes it. ?
Or any other ideas.?
Thanks.
EDIT: To update my situation.
I ran:
- Code: Select all
subsonic --help
found out that the default max Java Heap size is 100MB and then set it to 150MB
- Code: Select all
subsonic --max-memory=150
Seems to fix it so far.
Also I don't get that error after indexing I used to get when users logged in. It was just a dialog with "Error" in it. I'm glad its gone as I had to restart the service each time to get rid of it.
It is we who live that the music may play.