Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11971

memory leak in astshim isSeries function

    Details

    • Templates:
    • Story Points:
      3
    • Sprint:
      Alert Production F17 - 9
    • Team:
      Alert Production

      Description

      Running the attached script results in the failure

      ERROR: RuntimeError: AST: Error at line 51 in file src/detail/utils.cc.AssocId(WinMap): There are too many AST Objects in use at once. [__main__]
      Traceback (most recent call last):
        File "cause_failure_afwCameraGeom.py", line 13, in <module>
          pt = getCenterPixel('R:2,2 S:1,1')
        File "cause_failure_afwCameraGeom.py", line 7, in getCenterPixel
          centerPoint = camera[name].getCenter(FOCAL_PLANE)
      RuntimeError: AST: Error at line 51 in file src/detail/utils.cc.AssocId(WinMap): There are too many AST Objects in use at once.
      

      It is possible that this is expected/desirable behavior, given that I am needlessly calling makeCameraSys over and over again on the same inputs. I was under the impression, however, that these would get deleted upon exiting the getCenterPixel method defined in the script.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  rowen Russell Owen
                  Reporter:
                  danielsf Scott Daniel
                  Reviewers:
                  Tim Jenness
                  Watchers:
                  Paul Price, Russell Owen, Scott Daniel, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel