Keep an eye on your memory usage, and discover and isolate leaks.