> Using strace I found that running the following command in the
> specs/libX11 directory requires about 400MB of memory.
>
> troff -ms -dxV="libX11 1.3.2" -I. -dwww-image-template=. -Thtml libX11.ms
> &> /dev/null
>
> Now I don't know groff/troff so I ask you, is this not excessive?
> I would like to understand why troff uses so much memory.
It's a bug, fixed on 2009-04-10, I think. Please try the CVS version.
Using it, the maximum number of allocated heap space (as checked with
massif) is 10.52MB for the above call on my Linux box.
Werner