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 (1 GB max instead of 8 TB).

The default 8 TB geometry exhausts process virtual-address space when many databases are open concurrently across parallel test threads.