minor: added doc for maxMemory parameter