Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7609

Clear hibernate cache in ejbca-db-cli to avoid high memory usage

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.15.1
    • Fix Version/s: EJBCA 7.0.0, EJBCA 6.15.2
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Customer
    • Sprint:
      EJBCA Team Bob - 2019 w2

      Description

      There are two issues with the "ejbca-db-cli.jar verify" command, here and ECA-7607

      1. When there are very large amount of records, the Verify command in  “java -Xmx1536m -Djava.endorsed.dirs=endorsed -jar ejbca-db-cli.jar verify AuditRecordData”  runs the JAVA VM out of memory, which leads to stop/failure. It’s a one line fix “entityManager.clear();” in the file with comments.
      2. See ECA-7607

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              tomas Tomas Gustavsson
              Verified by:
              Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 20 minutes
                  1h 20m