Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5559

Kie-workbench and kie-server going OOM with subsequent build and deployment

    XMLWordPrintable

Details

    • NEW
    • NEW

    Description

      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 :

      1. Excel sheet has 50k rows. 
      2. Build the artifacts and deploy with version V1. The first deployment would be successful.
      3. 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.
      4. Before deploying version V3, remove version V1. Build and deploy V3.
      5. 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

       

       

      Attachments

        Activity

          People

            david.magallanes David Gutierrez
            kamathsachin7 Sachin Kamath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: