Affects Version/s: None
Fix Version/s: None
Component/s: Misc Compiler
= problem =
A lot of values that I compute are huge, and when done in the REPL, a
binding similar to:
val res3 = <big memory space value>
is introduced by Scala. After a few of these bindings I run out of memory, and
have to start the REPL afresh.
Workarounds like always binding a var at the REPL and clearing it, or wrapping all REPL values with SoftReference are too annoying.
= analysis =
= enhancement recommendation =
Always bind top level values to some fixed identifier like "it", etc.