diff --git a/test/long_stochastic.sh b/test/long_stochastic.sh index a386dcf9..55412cfb 100755 --- a/test/long_stochastic.sh +++ b/test/long_stochastic.sh @@ -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