@@ -17,44 +17,46 @@ interface MemorySegment {
1717
1818export function getMemorySegments ( stats : TMemoryStats ) : MemorySegment [ ] {
1919 const segments = [
20- {
21- label : i18n ( 'text_external-consumption' ) ,
22- key : 'ExternalConsumption' ,
23- value : getMaybeNumber ( stats . ExternalConsumption ) ,
24- isInfo : true ,
25- } ,
26- {
27- label : i18n ( 'text_allocator-caches' ) ,
28- key : 'AllocatorCachesMemory' ,
29- value : getMaybeNumber ( stats . AllocatorCachesMemory ) ,
30- } ,
3120 {
3221 label : i18n ( 'text_shared-cache' ) ,
3322 key : 'SharedCacheConsumption' ,
3423 value : getMaybeNumber ( stats . SharedCacheConsumption ) ,
3524 capacity : getMaybeNumber ( stats . SharedCacheLimit ) ,
3625 } ,
26+ {
27+ label : i18n ( 'text_query-execution' ) ,
28+ key : 'QueryExecutionConsumption' ,
29+ value : getMaybeNumber ( stats . QueryExecutionConsumption ) ,
30+ capacity : getMaybeNumber ( stats . QueryExecutionLimit ) ,
31+ } ,
3732 {
3833 label : i18n ( 'text_memtable' ) ,
3934 key : 'MemTableConsumption' ,
4035 value : getMaybeNumber ( stats . MemTableConsumption ) ,
4136 capacity : getMaybeNumber ( stats . MemTableLimit ) ,
4237 } ,
4338 {
44- label : i18n ( 'text_query-execution' ) ,
45- key : 'QueryExecutionConsumption' ,
46- value : getMaybeNumber ( stats . QueryExecutionConsumption ) ,
47- capacity : getMaybeNumber ( stats . QueryExecutionLimit ) ,
39+ label : i18n ( 'text_allocator-caches' ) ,
40+ key : 'AllocatorCachesMemory' ,
41+ value : getMaybeNumber ( stats . AllocatorCachesMemory ) ,
42+ } ,
43+ {
44+ label : i18n ( 'text_external-consumption' ) ,
45+ key : 'ExternalConsumption' ,
46+ value : getMaybeNumber ( stats . ExternalConsumption ) ,
47+ isInfo : true ,
4848 } ,
4949 {
5050 label : i18n ( 'text_soft-limit' ) ,
5151 key : 'SoftLimit' ,
5252 value : getMaybeNumber ( stats . SoftLimit ) ,
53+ isInfo : true ,
5354 } ,
5455 {
5556 label : i18n ( 'text_hard-limit' ) ,
5657 key : 'HardLimit' ,
5758 value : getMaybeNumber ( stats . HardLimit ) ,
59+ isInfo : true ,
5860 } ,
5961 ] ;
6062
0 commit comments