mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-30 15:58:24 +01:00
fuzz: Set -rss_limit_mb=8000 for generate as well
This is set by merge, so set it here as well, to avoid OOM.
This commit is contained in:
@@ -268,6 +268,7 @@ def generate_corpus(*, fuzz_pool, src_dir, build_dir, corpus_dir, targets):
|
|||||||
use_value_profile = int(random.random() < .3)
|
use_value_profile = int(random.random() < .3)
|
||||||
command = [
|
command = [
|
||||||
os.path.join(build_dir, 'src', 'test', 'fuzz', 'fuzz'),
|
os.path.join(build_dir, 'src', 'test', 'fuzz', 'fuzz'),
|
||||||
|
"-rss_limit_mb=8000",
|
||||||
"-max_total_time=6000",
|
"-max_total_time=6000",
|
||||||
"-reload=0",
|
"-reload=0",
|
||||||
f"-use_value_profile={use_value_profile}",
|
f"-use_value_profile={use_value_profile}",
|
||||||
|
|||||||
Reference in New Issue
Block a user