By the way, you said that some functions allocate lots of easily reclaimable memory. There is quite a lot of string duplication (as can be seen in the call log) and FoamNew calls. I wonder if it would be a good idea to make the GC optional (core code can free the memory it uses) and minimise its use within the compiler. Pippijn