Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-658

jmol 12 memory leak viewer object not garbage collected when viewer closed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6, 2.7, 2.8
    • Fix Version/s: None
    • Component/s: Structures
    • Labels:
      None

      Description

      Symptom: Turn on memory monitor, and watch it increase after importing projects containing structures and then closing all windows. For less dramatic effect, open and close the same structure several times (if its a really big structure you may see some difference).

      JvisualVm tracing shows that the org.jmol.viewer.Viewer object seems not to be garbage collected, and when initialised with a structure state, it seems to hang on to the string representation of the state.

      Will need to check that Jalview is not hanging on to any references to listeners associated with Jmol.viewer.Viewer (console, script window, etc).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter Jim Procter
              Reporter:
              jprocter Jim Procter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: