Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java heap space
08-12-2014, 16:11
Post: #11
RE: Java heap space
(08-12-2014 15:01)mike963 Wrote:  yes - they are large - just been using them to provide a better way of getting playlists on the Diskstation
they are auto generated and can't get large - that is is 1.7MB - it has 16,000 lines

So - that is good to know - is there a way to stop MinimServer was searching a specific directory as I cannot move that one as it used with the Diskstation

If not I will just get rid of the large ones - do you have any advice of what size constraint I should use ?

Mike

You can exclude a directory from scanning by putting a period at the start of its name. For example, a directory named ".playlists" will not be scanned. Alternatively, you can use the approach thet DavidHB has suggested.

I am investigating a change to the MinimServer code that might solve the problem, and I will send you a test build as soon as I can (hopefully by tomorrow). Given this, it would be better if you don't remove any of these files (at least not permanently) because it would be better to have them all in place to test the new build.
Find all posts by this user
Quote this message in a reply
08-12-2014, 16:14
Post: #12
RE: Java heap space
(08-12-2014 16:01)DavidHB Wrote:  Actually, having a '-[folder name]' option (presumably still within the 8 folder limit) would be a rather useful feature to have.

I am hoping to add support for exclude patterns in a future release. This would allow the user to exclude specific directories, specific filenames/filetypes, etc.
Find all posts by this user
Quote this message in a reply
08-12-2014, 18:02
Post: #13
RE: Java heap space
(08-12-2014 16:14)simoncn Wrote:  I am hoping to add support for exclude patterns in a future release. This would allow the user to exclude specific directories, specific filenames/filetypes, etc.

Thank you. This would be very helpful for some users, so I'm glad it's on the to-do list.

I had not thought of your suggestion (adding a period in front of the folder name to make the folder hidden in Linux or OSX - presumably in Windows you set the hidden attribute of the folder to do the same thing). Like my suggestion, it will not work in every case. For example, if another application that needs the folder cannot access it when it is hidden, hiding the folder may not be practicable.

David
Find all posts by this user
Quote this message in a reply
08-12-2014, 18:42
Post: #14
RE: Java heap space
(08-12-2014 18:02)DavidHB Wrote:  I had not thought of your suggestion (adding a period in front of the folder name to make the folder hidden in Linux or OSX - presumably in Windows you set the hidden attribute of the folder to do the same thing). Like my suggestion, it will not work in every case. For example, if another application that needs the folder cannot access it when it is hidden, hiding the folder may not be practicable.

David

Yes, MinimServer looks for the "hidden" attribute on Windows. As you say, this isn't a complete solution but might be useful in some cases.
Find all posts by this user
Quote this message in a reply
08-12-2014, 21:57
Post: #15
RE: Java heap space
(08-12-2014 16:11)simoncn Wrote:  I am investigating a change to the MinimServer code that might solve the problem, and I will send you a test build as soon as I can (hopefully by tomorrow). Given this, it would be better if you don't remove any of these files (at least not permanently) because it would be better to have them all in place to test the new build.

PM sent.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)