The class org.apache.slide.util.HashMapObjectCache doesn't respect its maxSize parameter. An easy fix would be to add cache size checking in the put() method.
Created attachment 6495 [details] Alternative Implementation for ObjectCache
Under some circumstances, HashMapObjectCache does not cache at all. Replacing HashMapObjectCache with LRUObjectCache can increase performance of Propfind 15 times or more. LRUObjectCache is a very thin wrapper around jakarata-commons-collections LRUMap.
I have deprecated HashMapObjectCache, since it is not longer used.