be invoking the compiler when a session
>> is
>> > created? I have all of the init code in the service start call and
>> stored as
>> > members of the service for reuse but I must create a new knowledge
>> session
>> > for each run.
>> > Any ide
I've seen similar issues and addressed it by overriding
ChainedProperties.getResources with a map to hold the enumeration once it is
found rather than constantly going back to the classloader-
Map> resourceMap = new TreeMap>();
private Enumeration getResources(String name, ClassLo
t; > stored as
>> > members of the service for reuse but I must create a new
knowledge
>> > session
>> > for each run.
>> > Any ideas?
>> > Thanks,
>> > Dave
>> >
>> > -- Forwarded m
as
> members of the service for reuse but I must create a new
knowledge session
> for each run.
> Any ideas?
> Thanks,
> Dave
>
> -- Forwarded message --
> From: David Conde mailto:dco...@calomtech.com>>
>
the init code in the service start call and
>> >> > stored as
>> >> > members of the service for reuse but I must create a new knowledge
>> >> > session
>> >> > for each run.
>> >> > Any ideas?
>> >> > Thanks,
f the service for reuse but I must create a new knowledge
> >> > session
> >> > for each run.
> >> > Any ideas?
> >> > Thanks,
> >> > Dave
> >> >
> >> > -- Forwarded message --
> >>
.
>> > Any ideas?
>> > Thanks,
>> > Dave
>> >
>> > -- Forwarded message --
>> > From: David Conde
>> > Date: 9 August 2010 11:17
>> > Subject: Re: [rules-users] CPU Spike creating a StatefulKnowledgeSession
&
; session
> > for each run.
> > Any ideas?
> > Thanks,
> > Dave
> >
> > ------ Forwarded message --
> > From: David Conde
> > Date: 9 August 2010 11:17
> > Subject: Re: [rules-users] CPU Spike creating a StatefulKnowledgeSession
ge --
> From: David Conde
> Date: 9 August 2010 11:17
> Subject: Re: [rules-users] CPU Spike creating a StatefulKnowledgeSession
> using OSGi
> To: Rules Users List
>
>
> The line that it spikes on is StatefulKnowledgeSession ksession =
> kbase.newStatefulKnowled
The line that it spikes on is StatefulKnowledgeSession ksession =
kbase.newStatefulKnowledgeSession();.
Cheers,
Dave
On 9 August 2010 11:09, Pavel Tavoda wrote:
> Is it session creation or rule compilation?
>
> Pavel
>
> 2010/8/9 David Conde :
> > Good Morning,
> > I now have drools running on
Is it session creation or rule compilation?
Pavel
2010/8/9 David Conde :
> Good Morning,
> I now have drools running on the Spring DM-Server but I am seeing a CPU
> spike when creating a StatefulKnowledgeSession. I've tested this outside of
> an OSGi environment and I don't see the spike. Does an
11 matches
Mail list logo