Bug 995023 - Memory leak in StatelessKnowledgeSessionImpl#execute when fireAllRules throwing RuntimeException
Summary: Memory leak in StatelessKnowledgeSessionImpl#execute when fireAllRules throwi...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: BRMS 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: ---
Assignee: Mario Fusco
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 986451
TreeView+ depends on / blocked
 
Reported: 2013-08-08 12:25 UTC by Mario Fusco
Modified: 2025-02-10 03:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:28:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-72 0 Major Resolved Potential memory leak in StatelessKnowledgeSessionImpl#execute when fireAllRules throwing RuntimeException 2015-12-09 09:34:26 UTC

Internal Links: 1036126

Description Mario Fusco 2013-08-08 12:25:08 UTC
When ksession.fireAllRules() throws RuntimeException, it cause ksession never gets released.

Comment 2 Petr Široký 2013-09-13 11:46:32 UTC
Verified that insert() and fireAllRules() methods are now wrapped inside try-finally block (ksession is disposed in finally). I am marking this as verified.

Comment 5 Red Hat Bugzilla 2025-02-10 03:28:16 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.