public synchronized void setHardCacheSize(int size) {
		while (hardCache.size() > size) {
			hardCache.removeLast();
		}
		this.hardCacheSize = size;
	}
Adjust the hard cache size
@param size new hard cache size
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/ObjectCache.java