Currently the memory usage of cachesim is not predictable and causes OOM if there is not enough DRAM.
We would like to
- perform a detailed memory profiling and see where we can save some DRAM;
- stop allocating more memory if there is not enough DRAM left. For example, we can use the hash table at a higher load factor; or we can pause the execution and wait till there is enough resource.
Currently the memory usage of cachesim is not predictable and causes OOM if there is not enough DRAM.
We would like to