Memory allocation on Synology NAS

Announcements and discussion of new releases.

Moderator: moderators

Memory allocation on Synology NAS

Postby blindman » Sat Mar 03, 2012 12:23 am

Hi all,

I loaded this "great" application on a DS2411+ w/ 1G of RAM. Each time the application runs it eventually freezes up in the first few hours to a day and a half. When this happens the CPU memory meter states java is consistantly at 25% instead of the typical 3-8%. Also, each time it seems the SearchService reaches a point of 126000 entries.

Could it be the app/java needs more memory? Any idea how to increase it?


BTW, the SEARCH feature also does not work...maybe it's related.

Thanks in advance for any help,

Craig
Synology: DS2413+
blindman
 
Posts: 12
Joined: Fri Mar 02, 2012 11:53 pm

Re: Memory allocation on Synology NAS

Postby blindman » Tue Mar 06, 2012 1:52 pm

Update:

Increased memory allocation to 256 and all is good.

What a great app!

Craig 8)
Synology: DS2413+
blindman
 
Posts: 12
Joined: Fri Mar 02, 2012 11:53 pm

Re: Memory allocation on Synology NAS

Postby Carl314 » Wed Mar 07, 2012 1:05 am

Craig, I seem to be having the same issue on my 712+, but am a Synology newbie. Can you let me know how you allocated the memory, and to which app (Java or Subsonic)?

Thanks, Carl.
Carl314
 
Posts: 4
Joined: Thu Feb 23, 2012 12:29 am

Re: Memory allocation on Synology NAS

Postby blindman » Fri Mar 09, 2012 5:28 am

Hi Carl,

You can adjust the allocated memory in the subsonic.sh file.

it is located in /volume1/@appstore/Subsonic/subsonic.sh

This is done by SSH into the DS

or since I am not a Linux expert, I use the Config File Editor provided by Merty at http://www.mertymade.com Add this package to you DS box and follow the steps below:

- open Config File editor

- add the following path to the Config File Editor: /volume1/@appstore/Subsonic/subsonic.sh,subsonic.sh

- exit out of Config and log back in then choose subsonic.sh

- change the SUBSONIC_MAX_MEMORY= to what ever you need. (default is 100, I changed it to 256 and it works great)

- save and exit

-restart Subsonic and away you go.
Synology: DS2413+
blindman
 
Posts: 12
Joined: Fri Mar 02, 2012 11:53 pm

Re: Memory allocation on Synology NAS

Postby Carl314 » Sun Mar 18, 2012 9:55 pm

Blindman - thank you for this detailed step-by-step. Subsonic suddenly started working fine - I suspect it was probably having problems during the initial indexing. But I'll bookmark your post in case the problem returns.

Cheers, Carl.
Carl314
 
Posts: 4
Joined: Thu Feb 23, 2012 12:29 am

Re: Memory allocation on Synology NAS

Postby blindman » Tue Mar 20, 2012 1:21 am

Carl,

Glad to hear. I have ...

11,488 artists
7,335 albums
118,225 songs
777.52 GB (~ 12,078 hours)

So I need the additional allocation of memory for my indexing to work.

BTW, does your lyrics feature work. It does not on mine.

Take care,

Craig
Synology: DS2413+
blindman
 
Posts: 12
Joined: Fri Mar 02, 2012 11:53 pm

Re: Memory allocation on Synology NAS

Postby bushman4 » Tue Mar 20, 2012 12:37 pm

The lyrics feature does not currently work for anyone using the stock subsonic build.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 874
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Memory allocation on Synology NAS

Postby blindman » Tue Mar 20, 2012 11:49 pm

Thanks Glenn,

BTW, I love the size of your music library! 8)
Synology: DS2413+
blindman
 
Posts: 12
Joined: Fri Mar 02, 2012 11:53 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 5 guests