File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1153
1153
<key >DiskCachePercentOfTotal</key >
1154
1154
<map >
1155
1155
<key >Comment</key >
1156
- <string >The percent of total cache size (defined by CacheSize) to use for the disk cache</string >
1156
+ <string >The percent of total cache size (defined by CacheSize) to use for the disk cache (ex: asset storage, excludes textures) </string >
1157
1157
<key >Persist</key >
1158
1158
<integer >1</integer >
1159
1159
<key >Type</key >
1160
1160
<string >F32</string >
1161
1161
<key >Value</key >
1162
- <real >40 .0</real >
1162
+ <real >35 .0</real >
1163
1163
</map >
1164
1164
<key >DiskCacheDirName</key >
1165
1165
<map >
1203
1203
<key >Type</key >
1204
1204
<string >U32</string >
1205
1205
<key >Value</key >
1206
- <integer >4096 </integer >
1206
+ <integer >6144 </integer >
1207
1207
</map >
1208
1208
<key >CacheValidateCounter</key >
1209
1209
<map >
Original file line number Diff line number Diff line change @@ -4282,8 +4282,8 @@ bool LLAppViewer::initCache()
4282
4282
const std::string cache_dir_name = gSavedSettings .getString (" DiskCacheDirName" );
4283
4283
4284
4284
const U32 MB = 1024 * 1024 ;
4285
- const uintmax_t MIN_CACHE_SIZE = 256 * MB;
4286
- const uintmax_t MAX_CACHE_SIZE = 9984ll * MB;
4285
+ const uintmax_t MIN_CACHE_SIZE = 896 * MB;
4286
+ const uintmax_t MAX_CACHE_SIZE = 32768ll * MB;
4287
4287
const uintmax_t setting_cache_total_size = uintmax_t (gSavedSettings .getU32 (" CacheSize" )) * MB;
4288
4288
const uintmax_t cache_total_size = llclamp (setting_cache_total_size, MIN_CACHE_SIZE, MAX_CACHE_SIZE);
4289
4289
const F64 disk_cache_percent = gSavedSettings .getF32 (" DiskCachePercentOfTotal" );
Original file line number Diff line number Diff line change 32
32
height =" 23"
33
33
increment =" 64"
34
34
initial_value =" 1024"
35
- label =" Cache size (256 - 9984MB )"
35
+ label =" Cache size (896 - 32768MB )"
36
36
label_width =" 150"
37
37
layout =" topleft"
38
38
left =" 80"
39
- max_val =" 9984 "
40
- min_val =" 256 "
39
+ max_val =" 32768 "
40
+ min_val =" 896 "
41
41
top_pad =" 10"
42
42
name =" cachesizespinner"
43
- width =" 200 " />
43
+ width =" 210 " />
44
44
<text
45
45
type =" string"
46
46
length =" 1"
59
59
label =" Clear Cache"
60
60
label_selected =" Clear Cache"
61
61
layout =" topleft"
62
- left_pad =" 30 "
62
+ left_pad =" 20 "
63
63
name =" clear_cache"
64
64
top_delta =" 0"
65
65
width =" 100" >
You can’t perform that action at this time.
0 commit comments