Decrease memory limit in fuzzing to 1gb (#3155)

This should keep us under the default 2gb limit when fuzzing
This commit is contained in:
Alex Crichton
2021-08-06 12:28:49 -05:00
committed by GitHub
parent ee3ff52661
commit 45896e0533

View File

@@ -46,9 +46,9 @@ fn create_store(engine: &Engine) -> Store<StoreLimits> {
let mut store = Store::new( let mut store = Store::new(
&engine, &engine,
StoreLimits { StoreLimits {
// Limits tables/memories within a store to at most 2gb for now to // Limits tables/memories within a store to at most 1gb for now to
// exercise some larger address but not overflow various limits. // exercise some larger address but not overflow various limits.
remaining_memory: 2 << 30, remaining_memory: 1 << 30,
oom: false, oom: false,
}, },
); );