1
0
Fork 0

use up to 75 % of available RAM for readcache

This commit is contained in:
Jan Steemann 2016-10-25 17:27:00 +02:00
parent ba80d76cbd
commit 1a5f918e34
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}