[Haskell-cafe] +RTS -M800M
Simon Marlow
simonmar at microsoft.com
Tue Dec 20 15:04:14 EST 2005
On 17 December 2005 21:57, Ketil Malde wrote:
> "Simon Marlow" <simonmar at microsoft.com> writes:
>
>> On 16 December 2005 10:05, Joel Reymont wrote:
>>
>>> I'm trying to restrict GHC to 800Mb of heap at runtime by passing in
>>> +RTS -M800M, the machine has 1Gb of memory and top shows free
>>> physical memory dropping below 175Mb.
>
>> -M800m should do more or less the right thing, but it is possible for
>> GHC to exceed this figure by a small percentage.
>
> Is there any chance there is a bug in recent GHCs (or perhaps Linux?)
> affecting this? I'm fairly sure I've lately seen Haskell programs
> consuming significantly larger amounts of memory than they should be
> allowed to, and I can try to isolate a test case if it is of
> interest.
Please do isolate it if you can. I'd be interested in investigating.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list