On Fri, Nov 12, 1999 at 19:31:54 +0300, S.D.Mechveliani wrote:
> But for  n = 9000,  -M3m 
> it does not report anything, swapping to the disk heavily. ALARM!
> Why it touches the disk? 

[I used n = 9000]

After some secs it reports:

Heap exhausted;
Current maximum heap size is 2998272 bytes;
use `+RTS -M<size>' to increase it.

but it eats up 155M(!) of memory (estimated with `top')...

However, running it with GC stats enabled doesn't show this amount of
memory (only last line included):

product +RTS -M3m -S
    Alloc    Collect    Live    GC    GC     TOT     TOT  Page Flts
    bytes     bytes     bytes  user  elap    user    elap
[...]    
    261592    401408   1700560  0.00  0.00    8.27   10.71    0    0  (Gen:  0)
   

Cheers,
Michael
-- 
W*indoze NT is faster...                           ...displaying a blue-screen.

Reply via email to