Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-1630

Type checking gets stuck and fails on large scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Cannot Reproduce
    • 6.34.0
    • None
    • None
    • SR4J Sprint 111, SR4J Sprint 112, SR4J Sprint 113, SR4J Sprint 114
    • 0

    Description

      The call to the 'codeinsight/check' endpoint can get stuck for long scripts, causing CPU usage to ramp up, out of memory errors, and sometimes the instance to freeze or crash.

      Steps to Reproduce:

      1. Put a long script such as this one in your script root: longscript.groovy
      2. Select as a script file for a listener, post-function, validator, etc.

      The call to the endpoint should be pending for a few minutes and cause the instance to freeze or crash.

      This has been reproduced on Jira and Confluence.

      Attachments

        Issue Links

          Activity

            People

              merdmann Marcin Erdmann [X] (Inactive)
              twortham Tiffany Wortham
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: