Best Practice: Build Memory Trace