I'd love to see simple test cases that exhibit space leaks (or other oddities). Please contribute findings to the Reactive tracker: http://trac.haskell.org/reactive/report/1?sort=ticket&asc=1 . - Conal
well, Bob and I also found a space leak in Tetris, and as far as I understood it a lot of MVars and (,) are leaking, probably because something is sticking on the head of the reactive streams or something so they can't be garbage collected, or some "push" events streams lack observers so they keep growing. But it's still unclear. I'm making a very small program here to reproduce the problem; I'm not using anything from Reactive but unamb and I also have a space leak, but that might be because of some bugs in my test case...On Fri, Nov 21, 2008 at 10:57 PM, Greg Fitzgerald <garious@gmail.com> wrote:I fixed the collision issue (I should have failed first year physics).
gravity x0 v0 t = (x0 + v0 * t - 4.9 * (t * t), v0 - 9.8 * t)
gravity :: Double -> Double -> TimeT -> (Double, Double)
New code here:
http://hpaste.org/12263
But this is still unusable. There's a massive space leak somewhere,
and the program continues to grow even after you close the window!
Anyone have any pointers for tracking this down?
-Greg
_______________________________________________
Reactive mailing list
Reactive@haskell.org
http://www.haskell.org/mailman/listinfo/reactive
_______________________________________________
Reactive mailing list
Reactive@haskell.org
http://www.haskell.org/mailman/listinfo/reactive