code: func (ms *MemoizeSigner) shrinkMemory() {
  	ms.Lock()
  	defer ms.Unlock()
  	for len(ms.memory) > (int)(ms.maxEntries) {
  		ms.evictFromMemory()
  	}
  }
docs: // evict evicts random messages from memory
  // until its size is smaller than maxEntries