Skip to content
Snippets Groups Projects
Commit c3a304dd authored by Yifan Sun's avatar Yifan Sun
Browse files

Merge branch 'reduce_memory_consumption' into 'v2'

Reduce memory consumption

See merge request !130
parents c39dd23f 1f201193
No related branches found
Tags v2.4.2
1 merge request!130Reduce memory consumption
Pipeline #563815887 failed
......@@ -46,7 +46,7 @@ func NewStorage(capacity uint64) *Storage {
storage := new(Storage)
storage.Capacity = capacity
storage.unitSize = capacity / 16
storage.unitSize = 4 * KB
storage.data = make(map[uint64]*storageUnit)
return storage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment