Niko Korhonen wrote: > I have the following code whose purpose is to add dither (noise) to a given > array. The code looks very straightforward but apparently it has a memory leak > somewhere.
No, it doesn't. It can't, because it doesn't even compile. After correcting the obvious > (lo, hi) <- getBounds buf to let (lo,hi) = bounds buf it just works and needs 40MB plus epsilon. Your problem has to be somewhere else. -Udo. -- fork(2) New processes are created by other processes, just like new humans. New humans are created by other humans, of course, not by processes. -- Unix System Administration Handbook
signature.asc
Description: Digital signature
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe