Example 8

Example 8: Recording heap allocations

Analyze the impact of closures on memory

See that eval retains a reference on all the variables of the closure.

  1. Start to record heap allocations
  2. Start the creation of new closures
  3. Analyze what happens