Has anyone else used the trick of adding a few strategically-placed `new Array(1000000)`s to check for memory leaks?
-
-
Replying to @propensive
the `println("this worked")` of memory leaking debugging. tbh I never thought of this :D, thanks Jon, you keep giving and giving.
1 reply 0 retweets 6 likes
Replying to @francoaramburo
Glad it helped! I had never tried it before today, but I'm writing a @scala_zone lesson on streaming with LazyLists, and I wanted a good way to demonstrate that you need to be careful about holding references to the stream...
8:44 AM - 17 Mar 2021
from Frankfurt on the Main, Germany
1 reply
0 retweets
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.