Skip to content

cache_memory set to huge value, based on available disk space #11139

Closed
@kofa73

Description

cache_memory is set based on available disk space, without taking available RAM into account (with a few hundred GB free disk space, this would require hundreds of GB of RAM, too):

// set cache_memory to half of freediskspace - 4gb (eg 1gb cache_mem in case of 6gb free space)
if(freecache > (6lu << 20))
dt_conf_set_int64("cache_memory", (freecache - (4lu << 20))/2);

See, for example:
https://discuss.pixls.us/t/run-performance-configuration/29427/12

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions