Re: [ROOT] To many DLL

From: Yuri V. Fisyak (fisyak@bnl.gov)
Date: Wed Nov 24 2004 - 16:58:04 MET


    Hi Rene, I found it
root/cint/inc/common.h:834:#define G__MAX_SL 150
I will try to extend it.
                            Yuri
----- Original Message ----- 
From: "Rene Brun" <Rene.Brun@cern.ch>
To: "Yuri V. Fisyak" <fisyak@bnl.gov>
Cc: "Rene Brun" <brun@pcbrun.cern.ch>; "Claus Horn" <horn@mail.desy.de>; 
<roottalk@pcroot.cern.ch>
Sent: Wednesday, November 24, 2004 10:54 AM
Subject: Re: [ROOT] To many DLL


> Hi Yuri,
>
> As I said in my original mail, this is a CINT parameter at compile time.
> CINT uses a static table with a size defined with
> #define G__MAX_SL 150
> in common.h
>
> You can extend this value if you like.
>
> I will discuss this point with Masa to see if this can be extended without
> problems.
>
> Rene Brun
>
> .
>
> "Yuri V. Fisyak" wrote:
>>
>> Hello Rene,
>>   where is this limitation coming from ?
>> No. 150 is very close to ~100 shared libraries which are dynamically 
>> loaded
>> in our production.
>>                                    Yuri
>> ----- Original Message -----
>> From: "Rene Brun" <brun@pcbrun.cern.ch>
>> To: "Claus Horn" <horn@mail.desy.de>
>> Cc: <roottalk@pcroot.cern.ch>
>> Sent: Tuesday, November 23, 2004 5:33 PM
>> Subject: Re: [ROOT] To many DLL
>>
>> > Claus,
>> >
>> > CINT has a limitation of 150 shared libs (loaded dynamically).
>> > I strongly suggest to group your classes in a smaller set of libraries.
>> >
>> > Rene Brun
>> >
>> > On
>> > Tue, 23
>> > Nov 2004, Claus Horn wrote:
>> >
>> >>
>> >> Dear ROOTers,
>> >>
>> >> I need to load a lot of classes.
>> >>
>> >> I use:
>> >>
>> >> gROOT->ProcessLine(".L "CVar/CVar_Zvtx.h+");
>> >>
>> >> After 100 or so I get:
>> >>
>> >> Too many DLL: Failed to load Dynamic link library
>> >> *** Interpreter error recovered ***
>> >>
>> >> Is there a way to load more classes?
>> >>
>> >> Thanks,
>> >> Claus Horn
>> >> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET