viewer changes, mongodb memory management