[Bf-committers] problems with C++

Stephane SOPPERA stephane.soppera at wanadoo.fr
Fri Sep 30 00:33:00 CEST 2005


Ton Roosendaal wrote:

> Hi,
>
> I tried to do work while compiling elbeem/factory_fsgr.o, but that 
> file  swapped out my whole system for almost 15 minutes (osx 1GB mem).
> Checking gcc, it was apparent the file used peaks of almost 1.5 GB  
> memory.
>
> This is not acceptable code in our tree. Same goes for yafray. Now 
> how  to make this code behave?

I might be wrong, but it seems that the source factory_fsgr uses a lot 
of "templates".
If this is the case, this is the source of huge memory (and CPU) 
consumption during compilation.

















More information about the Bf-committers mailing list