Update README

Document how to set TOTAL_MEMORY.