You could profile your app for memory usage. Then you could figure out just what function is blowing up the mem usage and figure out how to optimize it. <br><br><a href="http://book.realworldhaskell.org/read/profiling-and-optimization.html">http://book.realworldhaskell.org/read/profiling-and-optimization.html</a><br>
<br><br><div class="gmail_quote">2009/4/2  <span dir="ltr">&lt;<a href="mailto:lucas@die.net.au">lucas@die.net.au</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m relatively new to haskell so as one does, I am rewriting an<br>
existing program in haskell to help learn the language.<br>
<br>
However, it eats up all my RAM whenever I run the program.<br>
<br>
<a href="http://hpaste.org/fastcgi/hpaste.fcgi/view?id=3175#a3175" target="_blank">http://hpaste.org/fastcgi/hpaste.fcgi/view?id=3175#a3175</a><br>
<br>
Obviously I&#39;m doing something wrong, but without my magical FP pants I<br>
don&#39;t know what that might be.<br>
<font color="#888888"><br>
--<br>
Lucas Hazel &lt;<a href="mailto:lucas@die.net.au">lucas@die.net.au</a>&gt;<br>
</font><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>We can&#39;t solve problems by using the same kind of thinking we used when we created them. <br>    - A. Einstein<br>