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

catch hidden OOM errors when data transformation text results passed for display in a text window

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Efficiency
    • Labels:
      None

      Description

      There are many cases where Jalview passes a stringbuffer containing some text report to a CutAndPasteTransfer window, usually with the following code:
      cap.setText(analysisClass.getResultReport().toString())

      At the very least, these cases should always be wrapped with an OOM try/catch handler.
      Ideally, result reports should also be passed and processed by reference to minimise overheads even further.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: