1<div class="error-container err-_" ng-show="errors._">{{errors._}}</div>
2<div class="error-container err-_" ng-show="config.services.model.fts">
3  Full Text Search is a developer preview. Use only in test environments.
4</div>
5<div class="row" ng-if="config.totalMemorySize">
6  <label>RAM Available: </label>
7  <span class="ram-total-size">{{::config.totalMemorySize}} MB</span>
8</div>
9<div class="row" ng-if="config.services" mn-services="config">
10</div>
11<div class="memory-quota row" ng-if="config.displayedServices.kv">
12  <label for="kv_ram_quota">Data RAM Quota:</label>
13  <input
14    type="number" min="0"
15    class="focusme js_ram_quota"
16    id="kv_ram_quota"
17    mn-focus
18    ng-disabled="config.services && !config.services.model.kv || (rbac && !rbac.cluster.pools.write)"
19    name="memoryQuota"
20    ng-model="config.memoryQuota" />
21  <span>MB (min {{::config.minMemorySize}} MB)</span>
22  <a class="tooltip text_11"><span>What&#39;s this?</span>
23    <span class="tooltip_msg" style="width:150px;"><span>
24      Main memory allocation amount for data service per node.
25    </span></span>
26  </a>
27  <span class="error-container err-memoryQuota" ng-show="errors.memoryQuota">{{errors.memoryQuota}}</span>
28</div>
29<div class="memory-quota row" ng-if="config.displayedServices.index">
30  <label for="index_ram_quota">Index RAM Quota:</label>
31  <input
32    type="number" min="0"
33    class="js_ram_quota"
34    id="index_ram_quota"
35    ng-disabled="config.services && !config.services.model.index || (rbac && !rbac.cluster.pools.write)"
36    name="indexMemoryQuota"
37    mn-focus="config.services.model.kv === false"
38    ng-model="config.indexMemoryQuota" />
39  <span>MB (min 256 MB)</span>
40  <a class="tooltip text_11"><span>What&#39;s this?</span>
41    <span class="tooltip_msg" style="width:150px;"><span>
42      Main memory allocation amount for index service per node.
43    </span></span>
44  </a>
45  <span class="error-container err-indexMemoryQuota" ng-show="errors.indexMemoryQuota">
46    {{errors.indexMemoryQuota}}</span>
47</div>
48<div class="memory-quota row" ng-if="config.displayedServices.fts">
49  <label for="fts_ram_quota">Full Text RAM Quota:</label>
50  <input
51    type="number" min="0"
52    class="focusme js_ram_quota"
53    id="fts_ram_quota"
54    mn-focus="config.services.model.kv === false && config.services.model.index  === false"
55    ng-disabled="config.services && !config.services.model.fts || (rbac && !rbac.cluster.pools.write)"
56    name="ftsMemoryQuota"
57    ng-model="config.ftsMemoryQuota" />
58  <span>MB (min 256 MB)</span>
59  <a class="tooltip text_11"><span>What&#39;s this?</span>
60    <span class="tooltip_msg" style="width:150px;"><span>
61      Main memory allocation amount for full text service per node.
62    </span></span>
63  </a>
64  <span class="error-container err-ftsMemoryQuota" ng-show="errors.ftsMemoryQuota">
65    {{errors.ftsMemoryQuota}}
66  </span>
67</div>
68<div class="row" ng-if="config.maxMemorySize">
69  <label>Total Per Server:</label>
70  <span><span class="js_per_server_total">
71    {{ ((!config.displayedServices.kv || (config.services && !config.services.model.kv)) ? 0 : config.memoryQuota) +
72       ((!config.displayedServices.index || (config.services && !config.services.model.index)) ? 0 : config.indexMemoryQuota) +
73       ((!config.displayedServices.fts || (config.services && !config.services.model.fts)) ? 0 : config.ftsMemoryQuota) }}
74  </span> MB (must be less than <span class="js_max_ram_size">{{::config.maxMemorySize}}</span> MB) </span>
75</div>
76