ZODB.Architecture.DB.setCacheSize

Documentation
Set the target cache size. This is not a limit. It controls how aggressively to scan non-version connection caches to find objects to be removed.
Parameters
TypeNameDefaultDocumentation
PyIntsize A target cache size in number of objects.