Sorry, there was a JIRA link in the message thread that I didn't notice.
https://issues.jboss.org/browse/JBRULES-1325 says the leak was fixed in 5.0
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-tp54778p4020292.html
Sent from the
Do you have a JIRA to reference for this? Without that it's hard to check.
Mark
On 12 Oct 2012, at 23:24, lhorton lhor...@abclegal.com wrote:
Has this issue been fixed, or is it still necessary to remove any event
listeners so that the session is freed?
--
View this message in context:
Hi,
a nice problem... see below
On 12/10/2012, mohan mohan.narang...@gmail.com wrote:
Hi laune,
I'll explain the process briefly. I’m getting voice call events from our
billing system. We want give some offers if call made inside specific cell
(uploaded this fact to WM in advance) . But we
Hi laune,
really appreciate your valuable time dedication on this.
Yes I did a mistake that there is no NotificationEvent and that should be
OfferedEvent.
Primary keys of the OfferedEvent are mobileNo offerId. i.e should not
send particular offer notification to perticuler mobile within next
Has this issue been fixed, or is it still necessary to remove any event
listeners so that the session is freed?
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-tp54778p4020267.html
Sent from the Drools: User forum mailing list
On 11/10/2012, mohan mohan.narang...@gmail.com wrote:
Hi laune,
Assume we continuously getting vast number of facts or events from a stream
and we want to reasoning over particular time window (accumulate number of
events on this window) how we could achieve the same? Guess we cannot call
Hi laune,
Yes i already used @expires(24h) metadata for event. So each event will
expire after 24 hours. But per day we are getting over 1000k events and
inserting it into working memory will cause to java.lang.OutOfMemoryError.
Guess increase Java heap size not best solution either. How we can
Hi laune,
I'll explain the process briefly. I’m getting voice call events from our
billing system. We want give some offers if call made inside specific cell
(uploaded this fact to WM in advance) . But we have to give offer only once
per day. So repeated calls inside this cell won’t eligible for
Just repeat this, as often as required, with as many facts in facts
as you want:
// copy-pasted from the API documentation ;-)
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
for( Object fact : facts ) {
ksession.insert( fact );
}
ksession.fireAllRules();
Subject: Re: [rules-users] java.lang.OutOfMemoryError: Java heap space
Just repeat this, as often as required, with as many facts in facts
as you want:
// copy-pasted from the API documentation ;-) StatefulKnowledgeSession ksession
= kbase.newStatefulKnowledgeSession();
for( Object fact : facts
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: 10 October 2012 PM 12:58
To: Rules Users List
Subject: Re: [rules-users] java.lang.OutOfMemoryError: Java heap space
Just repeat this, as often as required, with as many facts in facts
as you want:
// copy-pasted from
Thank you! I did write code for this last night and ran it, but didn't get
the results I wanted so I was thinking the session was disposed before it
had a chance to run the rules. But the real issue was that I did not write
my rule correctly.
Thanks again!
--
View this message in context:
Hi laune,
Assume we continuously getting vast number of facts or events from a stream
and we want to reasoning over particular time window (accumulate number of
events on this window) how we could achieve the same? Guess we cannot call
dispose() after fireAllRules().
--
View this message in
I've seen many posts about users receiving a java.lang.OutOfMemoryError:
Java heap space error. The answer have been to increase heap space. I was
wondering if there is another way around this.
I have about 10,000 facts that I want to bring into working memory. Is there
a way to insert some of
PROTECTED]
Sent by: [EMAIL PROTECTED]
01/21/2008 10:38 PM
Please respond to
Rules Users List rules-users@lists.jboss.org
To
Rules Users List rules-users@lists.jboss.org
cc
Subject
[rules-users] java.lang.OutOfMemoryError: Java heap space on Drools 4.0.4
Hi,
I am getting the following outofmemory
Hello,
I add this 4 lines in my code before the session.dispose() and the problem
disapear :
session.removeEventListener((WorkingMemoryEventListener)logger);
session.removeEventListener((AgendaEventListener)logger);
Thanks for reporting and providing workaround. I will look into fixing
that.
2007/11/12, vdelbart [EMAIL PROTECTED]:
Hello,
I add this 4 lines in my code before the session.dispose() and the problem
disapear :
session.removeEventListener((WorkingMemoryEventListener)logger);
Hello,
In my tests of the 4.0.3, I have some : java.lang.OutOfMemoryError.
So, I try a simple test with 10.000 sequential execution of 1 rule with no
context and just a workingmemorylogger and I have the error :
java.lang.OutOfMemoryError: Java heap space
My code is :
public class
18 matches
Mail list logo