|
Which settings cause high memory usage?
|
|
11-11-2019, 11:05
Post: #2
|
|||
|
|||
|
RE: Which settings cause high memory usage?
Reducing the number of entries in indexTags and itemTags reduces memory usage if you you have a large library. I am not sure what itemSort is. Is this a tag that you have created?
tagValue should not use much memory. In tagFormat, indexFormat increases memory usage. displayFormat should make no difference. The ignore and reverseName settings in tagOptions can increase memory usage significantly, depending on how many files they affect. On Linux, you can increase the amount for memory available for MinimServer by creating a file named minimstart.conf in the minimserver/etc directory. This file should have a single line containing the following: javaopts = -Xmx512m This increases the maximum Java heap size to 512MB. This should be OK on a device with 1GB memory but you will need to verify that this doesn't cause problems for other applications. You can monitor memory consumption in real time by setting the serverOptions property to resourceInfo=10000, then selecting 'Show log' from the minim icon. The log window will contain periodic resource updates looking like this: 09:59:07.169 resourceInfo: heap bytes used 2339648, consumed 2406408, committed 16515072, max 235274240 09:59:07.169 resourceInfo: non-heap bytes used 10564728, committed 10903552, max 33554431 The inmprtant numbers are heap bytes consumed and heap bytes max. On my Raspberry Pi 3 with a small library, the consumed number is 2.4 MB and the max number is 235 MB. If the consumed number gets close to the max number, you can either increase the max number by settting -Xmx as described above or change your configuration as you have been doing. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Which settings cause high memory usage? - GioF_71 - 11-11-2019, 09:10
RE: Which settings cause high memory usage? - simoncn - 11-11-2019 11:05
RE: Which settings cause high memory usage? - GioF_71 - 11-11-2019, 13:13
RE: Which settings cause high memory usage? - simoncn - 11-11-2019, 16:51
RE: Which settings cause high memory usage? - GioF_71 - 11-11-2019, 18:01
RE: Which settings cause high memory usage? - simoncn - 11-11-2019, 22:12
RE: Which settings cause high memory usage? - GioF_71 - 12-11-2019, 14:21
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



