• Nils Goroll's avatar
    Limit chunk_bytes more strictly · da63a5b8
    Nils Goroll authored
    The main cause for #11 seems to be that the chunk size in relation to
    the memory cache was too big.
    
    We now clamp it at memsz >> 10 (less than 1/1024 of the memsz).
    
    This can still lead to issues when the memory size is reduced and
    the cache reloaded, but then at least new objects will not compete
    for the available memory.
    da63a5b8
fellow_tune.c 3.5 KB