checkAndClearMemory

Tracks TileCache.memUsage (updating memUsageLast) and logs it whenever it changes. The actual cache-trimming logic below is currently commented out, so this is presently a no-op beyond logging/bookkeeping.