]
Sachin Kamath updated DROOLS-5559:
----------------------------------
Priority: Critical (was: Major)
Kie-workbench and kie-server going OOM with subsequent build and
deployment
---------------------------------------------------------------------------
Key: DROOLS-5559
URL:
https://issues.redhat.com/browse/DROOLS-5559
Project: Drools
Issue Type: Bug
Components: Examples (Workbench), kie server
Affects Versions: 7.31.0.Final
Reporter: Sachin Kamath
Assignee: David Gutierrez
Priority: Critical
Hi Team,
We are using kie-workbench and kie-server for managing the rules using decision table
spreadsheet. What we see is that, with continuous build and deployments being done, the
servers are going out of memory. This is resulting in instability of the environment and
frequent restarts are required to fix the issue.
Here are the parameters:
*kie-workbench* :
Xms: 20G
Xmx: 20G
Metaspace Xmx:8G Xms:8G
Using G1GC algorithm.
*kie-server:*
Xms: 4G
Xmx: 4G
Metaspace: Xmx:2G Xms:2G
Using G1GC algorithm.
*Steps for replication :*
# Excel sheet has 50k rows.
# Build the artifacts and deploy with version V1. The first deployment would be
successful.
# Change the version to V2 and deploy once again. Now we will have version V1 and V2
both in the kie-servers but V2 would be serving he requests.
# Before deploying version V3, remove version V1. Build and deploy V3.
# Now when deploying version V4, after removing the version V2, the kie-servers are
going out of memory.
Even though we are making sure that only last 2 valid versions are present, the servers
are going out of memory. After restarting the servers, the last two valid versions V3 and
V4 are successfully deployed again. The error in kie-servers clearly says Java heap space
issue. But the point here is, it is fine after restart. I could sense there is some other
problem. With visual VM, i could see that the memory consumption gradually increases with
deployment of different versions but its not released as we remove the old version.
Any pointers would be helpful here.
Im really unsure if its a bug or im missing some parameters around it.
Thanks
Sachin