[comp.windows.x] Recover dynamic memory

elicegui@ts.tid.es (Javier Martinez Elicegui) (11/11/89)

  My work involves using a HP9000/(319,350) and a COMPAQ (386)

  When I destroy widgets I can't recover the dynamic memory

  I made a test program that only created and destroyed a 
  widget in a infinite loop
  When I run this program, it uses more and more memory and 
  doesn't recover it.

  Could someone help me with this problem.
	       thanks in advance.
	       my address is elicegui@ts.tid.es

swick@ATHENA.MIT.EDU ("Ralph R. Swick") (11/11/89)

>  I made a test program that only created and destroyed a 
>  widget in a infinite loop
>  When I run this program, it uses more and more memory and 
>  doesn't recover it.

There are a number of places in R3 where there is insufficient
information to be able to safely identify garbage and collect it.
The draft R4 additions attempt to improve this significantly.
I can't promise that all the holes are in fact plugged but we
should be able to provide the hooks to do a much better job of
heap recovery in R4.