Analyze a running program

Once the program is running, you can attach the Memory Analysis perspective and gather your data. For more information, see Attach to a running process in this chapter.
If a program uses fork, the control thread of the Memory Analysis tool must be disabled. fork works only with single threaded programs.
To disable the control thread option for memory analysis:
  1. From an existing launch configuration, select the Tools tab.
  2. If the Memory Analysis tool is not currently enabled, select Add/Delete Tool, select Memory Analysis, then click OK.
  3. Expand Advanced Settings.
  4. Disable the Create control thread option if it is currently enabled.
  5. Click Apply.
  6. Click Run.
For information about the Create control thread option, see Memory analysis of shared objects in this chapter.