mirror of
https://github.com/isar/libmdbx.git
synced 2025-04-03 15:42:58 +08:00
mdbx-test: limit DB-size 3Gb for long_stochastic.
Change-Id: I52bc6cd4aea7a41d5b1bdabc2c8e4bd6e34a78a9
This commit is contained in:
parent
aaf49bb816
commit
08c334c8bc
@ -35,6 +35,9 @@ fi
|
||||
# system immediately, as well some space is required for logs.
|
||||
#
|
||||
db_size_mb=$(expr '(' ${ram_avail_mb} - ${ram_reserve4logs_mb} ')' / 4)
|
||||
if [ ${db_size_mb} -gt 3072 ]; then
|
||||
db_size_mb=3072
|
||||
fi
|
||||
echo "=== ${ram_avail_mb}M RAM available, use ${db_size_mb}M for DB"
|
||||
|
||||
make check
|
||||
|
Loading…
x
Reference in New Issue
Block a user