Plus freeMemoryIfNeeded() refactoring to improve legibility. Please review this commit for sanity.
Attach a file by drag & drop or click to upload