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.

http://book.realworldhaskell.org/read/profiling-and-optimization.html


2009/4/2 <lucas@die.net.au>
I'm relatively new to haskell so as one does, I am rewriting an
existing program in haskell to help learn the language.

However, it eats up all my RAM whenever I run the program.

http://hpaste.org/fastcgi/hpaste.fcgi/view?id=3175#a3175

Obviously I'm doing something wrong, but without my magical FP pants I
don't know what that might be.

--
Lucas Hazel <lucas@die.net.au>

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe




--
We can't solve problems by using the same kind of thinking we used when we created them.
   - A. Einstein