Clear memory cache on memory warning. Closes #3.

Good test