Difference between revisions of "Space leak"

From HaskellWiki
Jump to: navigation, search
(redirect)
 
(why was it all messed up? oh, "Performance/" needed on some)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT[[Memory leak]]
 
  +
[[Category:Performance]]
  +
  +
This page is intended to serve as repository for one or more small, community-edited examples of Haskell programs which '''actually''' leak space with state-of-the-art tools.
  +
That means it should preferably leak even when compiled with the latest GHC -O2, but certainly should leak with default -O.
  +
This is the one thing that the many excellent wiki and blog pages about space leak don't deliver.
  +
It's frustrating to study about leak when the examples given no longer leak for us! :)
  +
  +
''Maybe this page should be moved to just [[Leak]] and then we can present others (eg. time leak) as well?''
  +
  +
For general text about space leak, please see [[Memory leak|memory leak]].
  +
  +
I haven't had a chance to mark up this page yet, but the intended initial content is available at the [http://www.fremissant.net/leaky leaky] project homepage.
  +
  +
==See Also==
  +
 
* [[Memory leak]]
  +
* [[Performance/Space|Space]]
  +
* [[Laziness]]
  +
* [[Performance/Strictness]]
  +
* [[How to profile a Haskell program]]
  +
* [[Performance/Accumulating parameter|Accumulating parameter]]
  +
* [[Performance/Data types|Data types]]

Latest revision as of 06:46, 4 February 2015


This page is intended to serve as repository for one or more small, community-edited examples of Haskell programs which actually leak space with state-of-the-art tools. That means it should preferably leak even when compiled with the latest GHC -O2, but certainly should leak with default -O. This is the one thing that the many excellent wiki and blog pages about space leak don't deliver. It's frustrating to study about leak when the examples given no longer leak for us! :)

Maybe this page should be moved to just Leak and then we can present others (eg. time leak) as well?

For general text about space leak, please see memory leak.

I haven't had a chance to mark up this page yet, but the intended initial content is available at the leaky project homepage.

See Also