add memory profiling references to docs
Merge pull request #4896 from dimagi/profile

add memory profiling references to docs