Open rwbarton opened 11 years ago
I have a workaround for now but it would be good to understand the leak. 567c54910fd43cc19eb84b5e748d82382e4dc2be is the leaky version.
Isolated the leak to this minimal example: http://hpaste.org/78029
The reactive-banana space leak is fixed in a development version of reactive-banana that's not on Hackage yet. Probably I have my own space leaks also.
That version is now on Hackage, but now I have this problem instead: https://github.com/HeinrichApfelmus/reactive-banana/issues/52#issuecomment-26686817
The plan is to write a wrapper module around Reactive.Banana that puts all Behavior values in Box
es and thereby controls evaluation explicitly.
Something in the reactive-banana network is leaking memory.
The leak goes away when
`R.union
fmap (const " ") goodbyeis removed from
clearText`, so maybe it has to do with steppers that are updated very rarely.