Unfortunately the server I was using locked up last night and I cannot get access.
I'll have to find an interim system where I can run tests and profile the heap. In
the meantime, I switched to a Sequential Stateless Session. I don't know the
internals of Drools, but since this seems to turn off the left input propagation, does
that mean the JoinLeftNode is not used?
I am running 5.4 .0 on Linux. If I see the same issues with a stateless approach, I will
try the 5.5 approach.
Thanks again,
Julian
On Feb 17, 2013, at 6:19 PM, Mark Proctor <mproctor(a)codehaus.org> wrote:
You'll need to help us a bit here, by creating a test of some
sort. "I have 100 rules with 1B JoinLeftNode" doesn't give us much to go
on.
The problem mentioned earlier was related to windows, which I don't think you are
using - or you'd have said so.
Also can you tell us what version you are using? Could you maybe try the 5..5.x branch
which has a lot of fixes in it (you'll need to build it with maven):
https://github.com/droolsjbpm/drools/tree/5.5.x
mark
On 17 Feb 2013, at 18:27, Julian Klein <julianklein(a)gmail.com> wrote:
> Thanks again. I have tried Sequential mode, but somehow my Java based class that I
use for function calls no longer receives them. Perhaps there is an error occurring
before the call to my class in the "then" section of the rule that is not
presenting itself in my logs. Either that or I don't understand sequential mode's
limitations well enough. I'll try it one more time and report back on that as well.
>
>
> On Sun, Feb 17, 2013 at 1:17 PM, Wolfgang Laun <wolfgang.laun(a)gmail.com>
wrote:
>> On 17/02/2013, Julian Klein <julianklein(a)gmail.com> wrote:
>> > Ok, I witnessed this with JProfiler. I will try with jmap to make sure and
>> > report back later today or tomorrow. Is it safe then to assume that
>> > discarding (dispose) the session between laps is better from a throughput
>> > perspective than re-using it?
>>
>> If you need to start each session with a clean slate: yes, dispose is
>> preferable.
>>
>> > Also, would using a Stateless Session
>> > "perform" better from either a memory or CPU perspective?
>>
>> Only if you can run it in "sequential mode" - see Expert, 3.3.7.1.
>> Sequential Mode
>>
>> -W
>>
>> >
>> > Thanks again!
>> >
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users