[Bf-committers] problems with C++

Nils Thuerey nils at thuerey.de
Mon Oct 3 17:07:34 CEST 2005


Hi,

Sorry for not responding - I was stuck with a stupid webmailer over the
weekend that only sent messages from the wrong address...

Well, good to hear it works for some people. Seems like it's especially
problematic for the mac-gcc. As Jonathan mentioned, it's probably due to
the several thousand lines of template code in combination with macros
and inline functions. I'm not a big template fan, but here it's really
useful to generate debugging/2d/3d versions. I'll look into splitting up
the compilation of the solver class somehow.

Jonathan - can the explicit instation be used to split up a single
templated class? I'll try to ask some of the C++ experts at my instute
as well...

Regards,
-> Nils

Renato Perini wrote:
> Yeah, I have only 512 Mb of ram. 64 megs of it is dedicated to graphics
> card (a shared memory adapter ;-) ) so I have less than 512 megs in total.
> With Linux, gcc 4.0.2 all compiles smooth without any slowdoan at all.
> 
> Jeremy Wall ha scritto:
> 
>> I compile in 40 minutes on my machine using gcc 3.3: make clean &&
>> make all. I don't have any memory spikes to speak of. Is this machine
>> related or code related?
>>
>> my specs are:
>> ubuntu 5.04
>> amd athlon 1.6
>> 1 gig of ram
>>
>> On 9/29/05, malefico andauer <the3d_hut at yahoo.com.ar> wrote:
>>  
>>
>>> Same here, compiling with scons in linux (I was just
>>> about posting about it). System memory is hug and
>>> gives out of memory error.
>>>
>>> Best regards
>>>
>>> malefico.
>>>
>>> --- Ton Roosendaal <ton at blender.org> escribió:
>>>
>>>   
>>>
>>>> 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?
>>>>
>>>> -Ton-
>>>>
>>>>
>>>>     
>>>
>>> ------------------------------------------------------------------------
>>>   
>>>
>>>> -- 
>>>> Ton Roosendaal  Blender Foundation ton at blender.org
>>>> http://www.blender.org
>>>>
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers at projects.blender.org
>>>>
>>>>     
>>>
>>> http://projects.blender.org/mailman/listinfo/bf-committers
>>>   
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___________________________________________________________
>>> 1GB gratis, Antivirus y Antispam
>>> Correo Yahoo!, el mejor correo web del mundo
>>> http://correo.yahoo.com.ar
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at projects.blender.org
>>> http://projects.blender.org/mailman/listinfo/bf-committers
>>>
>>>   
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>>
>>  
>>
> 
> 
> 
> -- 
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> 
> Sponsor:
> Natsabe.it la più grande erboristeria online italiana * prezzi bassi
> tutto l'anno !
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1298&d=1-10
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://projects.blender.org/pipermail/bf-committers/attachments/20051003/f295d2f6/signature.pgp


More information about the Bf-committers mailing list