mirror of https://gitee.com/bigwinds/arangodb
use up to 75 % of available RAM for readcache
This commit is contained in:
parent
ba80d76cbd
commit
1a5f918e34
|
@ -52,7 +52,8 @@ RevisionCacheFeature::RevisionCacheFeature(ApplicationServer* server)
|
|||
|
||||
|
||||
if (TRI_PhysicalMemory != 0) {
|
||||
_targetSize = static_cast<decltype(_targetSize)>(TRI_PhysicalMemory * 0.5);
|
||||
// reset target size to a fraction of the available memory
|
||||
_targetSize = static_cast<decltype(_targetSize)>(TRI_PhysicalMemory * 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue