Limiting size of object cache to test if it is the source of the memory leak