Limit chunk_bytes more strictly
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.
Showing
Please register or sign in to comment