Make MAX_MEMORY_IMAGE_CACHE 20% of maxMameory().  Log this value on use.
Log maxMemory on startup, include thread detail in error reports.