GC in Clean 1.3

Pedro Palao Gostanza ecceso@eucmos.sim.ucm.es
Mon, 01 Jun 1998 16:00:19 +0000


Hello,

How is memory used after a gc in Clean 1.3? It seems that after a
garbage collection
Clean forgets the asked heap size (with the -h option). I have done the
following experiment.
I have run a memory hungry program with an initial size of 128 M and
with
-gc. The first garbage collection took place after a lot of time and
swap (my machine
has (only) 64 M). A continuos exploration with "ps -m" showed an
increasing memory usage.
After the first garbage collection swaping stoped and a lot of gc
messages started
to appear in the console with an almost no progress in the memory usage.

An exploration with "ps -m" showed that OS started to move the
application to the
swap disk.

Version 1.1 under Solaris keeps using the requested size; if i compile
my program
with this version it runs in around 50 seconds.
But if i compile it with version 1.3 under a Linux (5 time faster than
the Sun machine),
the new characteristic makes my program not terminate in a resonable
time (hours).

Regards,
  Pedro Palao.