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

            ann.loraine Ann Loraine created issue -
            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.
            hiralv Hiral Vora (Inactive) made changes -
            Field Original Value New Value
            Assignee Hiral Vora [ hiralv ] Alyssa Gulledge [ alyssa ]
            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.
            alyssa Alyssa Gulledge (Inactive) made changes -
            Assignee Alyssa Gulledge [ alyssa ] Nick Ren [ imnick ]
            hiralv Hiral Vora (Inactive) made changes -
            Project IGB 6.5.1 [ 10032 ] IGB6.6 [ 10021 ]
            Key SIXFIVEONE-6 IGBA-90
            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.
            imnick Nick Ren (Inactive) made changes -
            Assignee Nick Ren [ imnick ] Alyssa Gulledge [ alyssa ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Project IGB6.6 [ 10021 ] Bug Repository [ 10030 ]
            Key IGBA-90 BUG-107
            alyssa Alyssa Gulledge (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            imnick Nick Ren (Inactive) made changes -
            Assignee Alyssa Gulledge [ alyssa ]
            imnick Nick Ren (Inactive) made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            imnick Nick Ren (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Katharine Kubiak [ kkubiak ]
            Hide
            kkubiak Katharine Kubiak (Inactive) added a comment -

            Passed v9770 Windows

            Show
            kkubiak Katharine Kubiak (Inactive) added a comment - Passed v9770 Windows
            kkubiak Katharine Kubiak (Inactive) made changes -
            Assignee Katharine Kubiak [ kkubiak ] Anuj Puram [ anuj ]
            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
            anuj Anuj Puram (Inactive) made changes -
            Assignee Anuj Puram [ anuj ] Alyssa Gulledge [ alyssa ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Assignee Alyssa Gulledge [ alyssa ]
            Resolution Fixed [ 1 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Hide
            darius darius added a comment -

            Passed 7.0.0 (11806)

            Show
            darius darius added a comment - Passed 7.0.0 (11806)
            darius darius made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Darius Bost [ darius ]
            darius darius made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Assignee Darius Bost [ darius ]
            Resolution Fixed [ 1 ]
            richard Richard Linchangco (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Priority Blocker [ 1 ] Major [ 3 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Link This issue is blocked by BUG-648 [ BUG-648 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            tkanapar Tarun Santosh (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Tarun Santosh [ tkanapar ]
            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)
            tkanapar Tarun Santosh (Inactive) made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            hiralv Hiral Vora (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Tarun Santosh [ tkanapar ]
            hiralv Hiral Vora (Inactive) made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: