Skip to main content

test_db_args

Function test_db_args 

Source
pub fn test_db_args() -> DatabaseArguments
Expand description

Returns MDBX DB args sized for tests (64 MB max with 4 MB growth step).

The default 8 TB geometry with 4 GB growth step both exhausts process virtual-address space when many databases are open concurrently across parallel test threads, and pre-allocates multi-GB files on disk that can fill the CI runner’s disk.