Change memory limits to -1 rather than 0 in accordance with change in MemoryBoundLruHashMap

MemoryBoundLruHashMap used 0 as unlimited capacity; now unlimited capacity is marked by <0.