Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-5462

Stunner - memory leaks

    XMLWordPrintable

    Details

    • Sprint:
      2017 Week 22-23, 2017 Week 47-48, 2018 Week 13-14, 2018 Week 15-16, 2018 Week 17-18
    • Steps to Reproduce:
      Hide

      1. Run Stunner Showcase in Chrome browser
      2. Open Task Manager (Shift+Esc)
      3. Look at Memory usage and JS memory usage (use right mouse button on table header to open additional columns)
      4. Try to open and to close some Processes

      Actual Result:
      1. After project start it tab takes:

      • Memory: ~340 Mb
      • JS Memory: ~200 Mb

      2. With one opened evaluation process:

      • Memory: ~364 Mb
      • JS Memory: ~221 Mb

      3. After some interactions with process elements:

      • Memory: ~445 Mb
      • JS Memory: ~229 Mb

      4. If now you close evaluation process:

      • Memory: ~402 Mb
      • JS Memory: ~235 Mb

      5. Open/Close evaluate process for some times

      • Memory: ~620 Mb
      • JS Memory: ~270 Mb

      If you will draw something for every Open/Close iteration the results will be even worst. I achieved 1+ Gb of used memory.

      Also if you click Ctrl+Shift+J (open Developers console) and navigate to Elements Tab you can found a lot of repeated SVG pictures and other html elements. (Even if all instances of Stunner are closed and only WB is shown).

      Expected Result:
      Browser will clean up memory after closing Business Process

      Show
      1. Run Stunner Showcase in Chrome browser 2. Open Task Manager (Shift+Esc) 3. Look at Memory usage and JS memory usage (use right mouse button on table header to open additional columns) 4. Try to open and to close some Processes Actual Result: 1. After project start it tab takes: Memory: ~340 Mb JS Memory: ~200 Mb 2. With one opened evaluation process: Memory: ~364 Mb JS Memory: ~221 Mb 3. After some interactions with process elements: Memory: ~445 Mb JS Memory: ~229 Mb 4. If now you close evaluation process: Memory: ~402 Mb JS Memory: ~235 Mb 5. Open/Close evaluate process for some times Memory: ~620 Mb JS Memory: ~270 Mb If you will draw something for every Open/Close iteration the results will be even worst. I achieved 1+ Gb of used memory. Also if you click Ctrl+Shift+J (open Developers console) and navigate to Elements Tab you can found a lot of repeated SVG pictures and other html elements. (Even if all instances of Stunner are closed and only WB is shown). Expected Result: Browser will clean up memory after closing Business Process
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      It looks like Stunner not release memory resources even after all instances of Designer are closed (only WB is still opened). See Steps to Reproduce for more details.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  roger600 Roger Martínez
                  Reporter:
                  kgaevski Kirill Gaevskii
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 days
                    4d
                    Remaining:
                    Remaining Estimate - 4 days
                    4d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified