[Haskell-cafe] Memory profiling

Chaddaï Fouché chaddai.fouche at gmail.com
Mon Jun 16 04:11:55 EDT 2008

2008/6/16 Pieter Laeremans <pieter at laeremans.org>:
> Hi,
> Which tools do you recommand for memory profiling   haskell programs
> on a *nix system.
> I'm using haskell to develop a CGI program/script.
> The application has to be deployed on shared hosting infrastructure.
> Since I would like to be a good citizen ,
> I would need to meassure the maximum amount of memory allocated to the
> program during execution.
> The best I can do now is look at top but that 's not satisfactory.

Are you aware that by calling the program with the correct RTS options
you can have memory profiling ?
(see option -s for simple statistics)


More information about the Haskell-Cafe mailing list