Uploaded image for project: 'Bug Repository'
  1. Bug Repository
  2. BUG-107

Out of memory error on sequence search

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      Description

      Searching for a sequence on reasonably sized region of chromosome produces out of memory error. This may also affect the trunk. Please test trunk, also.

      To repeat:

      (0) Reset prefs to defaults
      (1) Choose genome H_sapiens_Feb_2009
      (2) Use coordinates search box to go to region chr1 : 60,920,000 - 69,280,000
      (3) Click Load Sequence in View, wait for sequence to load
      (4) Click Search Tab, Choose "Search: Residues"
      (5) Enter: GTGGCTTTCCCT
      (6) Click "search" (binoculars icon)
      (7) Observe memory use increase briefly to 500 Mg, out of memory error appears, search stalls and no results appear

      [java] Exception in thread "pool-13-thread-1" java.lang.OutOfMemoryError: Java heap space
      [java] at java.util.Arrays.copyOf(Arrays.java:2882)
      [java] at java.lang.StringValue.from(StringValue.java:24)
      [java] at java.lang.String.<init>(String.java:178)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResiduesFromComposition(BioSeq.java:544)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResiduesNoProvider(BioSeq.java:512)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResidues(BioSeq.java:478)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResidues(BioSeq.java:469)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResidues(BioSeq.java:460)
      [java] at com.affymetrix.igb.search.SearchView.regexTF(SearchView.java:616)
      [java] at com.affymetrix.igb.search.SearchView.access$2500(SearchView.java:54)
      [java] at com.affymetrix.igb.search.SearchView$5.run(SearchView.java:589)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      [java] at java.lang.Thread.run(Thread.java:680)
      [java] Exception in thread "pool-13-thread-2" java.lang.OutOfMemoryError: Java heap space
      [java] at java.util.Arrays.copyOf(Arrays.java:2882)
      [java] at java.lang.StringValue.from(StringValue.java:24)
      [java] at java.lang.String.<init>(String.java:178)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResiduesFromComposition(BioSeq.java:544)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResiduesNoProvider(BioSeq.java:512)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResidues(BioSeq.java:478)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResidues(BioSeq.java:469)
      [java] at com.affymetrix.genometryImpl.BioSeq.getResidues(BioSeq.java:460)
      [java] at com.affymetrix.igb.search.SearchView.regexTF(SearchView.java:616)
      [java] at com.affymetrix.igb.search.SearchView.access$2500(SearchView.java:54)
      [java] at com.affymetrix.igb.search.SearchView$5.run(SearchView.java:589)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      [java] at java.lang.Thread.run(Thread.java:680)

        Attachments

          Issue Links

            Activity

            Hide
            tkanapar Tarun Santosh (Inactive) added a comment -

            Passed (7.0.4) 15389(Mac)

            Show
            tkanapar Tarun Santosh (Inactive) added a comment - Passed (7.0.4) 15389(Mac)
            Hide
            darius darius added a comment -

            Passed 7.0.0 (11806)

            Show
            darius darius added a comment - Passed 7.0.0 (11806)
            Hide
            anuj Anuj Puram (Inactive) added a comment -

            Passed version 6.7.0 (9791) on Mac

            Show
            anuj Anuj Puram (Inactive) added a comment - Passed version 6.7.0 (9791) on Mac
            Hide
            kkubiak Katharine Kubiak (Inactive) added a comment -

            Passed v9770 Windows

            Show
            kkubiak Katharine Kubiak (Inactive) added a comment - Passed v9770 Windows
            Hide
            imnick Nick Ren (Inactive) added a comment -

            I follow repeated step and it works well.

            It doesn't produce out of memory error.
            Instead, it shows me one result back.

            Show
            imnick Nick Ren (Inactive) added a comment - I follow repeated step and it works well. It doesn't produce out of memory error. Instead, it shows me one result back.
            Hide
            hiralv Hiral Vora (Inactive) added a comment -

            Deployed a new version containing this fix. Test it on preview too.

            Show
            hiralv Hiral Vora (Inactive) added a comment - Deployed a new version containing this fix. Test it on preview too.
            Hide
            hiralv Hiral Vora (Inactive) added a comment -

            Fixed on branch in 8135.

            Test that it is not running out of heap while searching. Also make sure it is returning correct results.

            Show
            hiralv Hiral Vora (Inactive) added a comment - Fixed on branch in 8135. Test that it is not running out of heap while searching. Also make sure it is returning correct results.

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: