Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1160106

Summary: Verifier causes OutOfMemoryError with 100 rules
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Toshiya Kobayashi <tkobayas>
Component: BRM (Guvnor)Assignee: Toni Rikkola <trikkola>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:43:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
BRMS531Ex74_verifier_slow.zip none

Description Toshiya Kobayashi 2014-11-04 04:03:06 UTC
Description of problem:

If you have many rules and run [QA]->[Run Analysis] or [Source]->[Verify], you will finally get OutOfMemoryError.

As far as I tested, even with -Xmx4g heap, 100 rules caused OutOfMemoryError. Of course, more rules may consume more memory but the result look too greedy for usual use cases.

Steps to Reproduce:

1. Start BRMS 5.3.1 with -Xmx4g
2. Import the attached repository_export.zip to Guvnor
3. [QA]->[Run Analysis]

Actual results:

Throws OOME.

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

Expected results:

Finish Verifying

Comment 1 Toshiya Kobayashi 2014-11-04 04:09:38 UTC
Created attachment 953426 [details]
BRMS531Ex74_verifier_slow.zip

Attached BRMS531Ex74_verifier_slow.zip which is a JBDS project for easier reproduction.

- Import the project
- Edit Build class path to meet your environment
- Run VerifyTest

You may change the line:

String drlFile = "Sample_100_rules.drl";

FYI) I observed that Sample_OR_duplicate.drl resulted in OOME as well.

Comment 4 Red Hat Bugzilla 2025-02-10 03:43:27 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.