Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1967

Stunner - memory leaks in new marshaller (test scope)

    XMLWordPrintable

Details

    • 3
    • CR2
    • Hide

      To reproduce an issue, just add this test to UserTaskTest class and make marshallDiagramWithNewMarshaller method protected.

          @Test
          public void testMemoryLeaks() throws Exception {
              super.init();
              for (int i = 0; i < 100; i++) {
                  marshallDiagramWithNewMarshaller();
              }
          }
      

      Actual Result:

      Test will fail with java.lang.OutOfMemoryError: GC overhead limit exceeded

      Expected Result:

      Test will pass.

      Show
      To reproduce an issue, just add this test to UserTaskTest class and make marshallDiagramWithNewMarshaller method protected. @Test public void testMemoryLeaks() throws Exception { super .init(); for ( int i = 0; i < 100; i++) { marshallDiagramWithNewMarshaller(); } } Actual Result: Test will fail with java.lang.OutOfMemoryError: GC overhead limit exceeded Expected Result: Test will pass.
    • 2019 Week 11-13, 2019 Week 14-16, 2019 Week 17-19

    Description

      When I parsing many diagrams in a row, java is failing with:

      java.lang.OutOfMemoryError: GC overhead limit exceeded

      Attachments

        Issue Links

          Activity

            People

              tdolphin-1 Tiago Dolphine
              kgaevski@redhat.com Kirill Gaevskii
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: