Example 7
Example 7: Eval is evil (almost always)
Analyze the impact of closures on memory
See that eval
retains a reference on all the variables of the
closure.
- Start the creation of new closures
- Take a heap snapshot
-
Find the closures (named
lC
, sC
, and
eC
)