[gambit-list] Gambit is great: the manual should advertise better

Bradley Lucier lucier at math.purdue.edu
Sun Feb 6 22:23:44 EST 2005


On Feb 6, 2005, at 10:07 PM, Bill Richter wrote:

> (time (pretty-print (Poly-first (D X))))
>     998093 ms real time, 16.6 minutes
>     997940 ms cpu time (997840 user, 100 system)
>     3204 collections accounting for 365525 ms real time (365690 user, 
> 30 system)
>     112648202368 bytes allocated
>     13318 minor faults
>     3 major faults
>
> BTW can someone explain this figure, 112648202368 bytes allocated?
> Did I really use 112.6 gB?  My machine "only" has 1 gB of memory.

Probably, yes.  Each of the 3204 garbage collections collected on 
average about 30+ megabytes of data, which it could reuse until the 
next GC, etc.  My guess is that if you doubled the amount of real 
memory to 2GB the number of collections would drop to a few hundred.

Brad



More information about the Gambit-list mailing list