Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2220

OutOfMemoryError on Datagrid cause issues on project import indexing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • None
    • None
      1. Import sample projects at the same time (should be enough to import with 4 users)
      2. Check if the datagrid was restarted
      3. If datagrid wasn't restarted repeat 1
    • NEW
    • NEW

    Description

      If users import more (sample) projects at the same time, Datagrid (Infinispan) will run out of memory (on java heap). Restart of infinispan cause that project are not correctly imported (we can see more copies in BC) and Unexpected errors are displayed in BC.

      Observation of the Datagrid log end with: Terminating due to java.lang.OutOfMemoryError: Java heap space
      (Also see attached screenshots of visualVM and grafana CPU usage - in grafana take a look for a last restart at 15:30)

      For the datagrid image we have set in OpenShift CPU request to 4 CPU cores and 4 GB of RAM memory. In Datagrid JVM arguments is set -Xms64m and -Xmx512m

      We should be able to continue in work without notice when datagrid restarts.

      Attachments

        Issue Links

          Activity

            People

              aparedes@redhat.com Adriel Paredes
              jakubschwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: