Difference between revisions of "Space leak"

From HaskellWiki
Jump to navigation Jump to search
(Beginning to flesh it out)
(why was it all messed up? oh, "Performance/" needed on some)
 
Line 14: Line 14:
 
==See Also==
 
==See Also==
   
[[Memory leak]]
+
* [[Memory leak]]
[[Space]]
+
* [[Performance/Space|Space]]
[[Laziness]] (different than the above!)
+
* [[Laziness]]
[[Strictness]] (ditto)
+
* [[Performance/Strictness]]
[[How to profile a Haskell program]]
+
* [[How to profile a Haskell program]]
[[Accumulating parameter]]
+
* [[Performance/Accumulating parameter|Accumulating parameter]]
[[Data types]]
+
* [[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