Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • DanWebster
    Junior Member
    • Mar 2010
    • 3

    Cufflinks 'std::bad_alloc'

    Hello all,

    Can anyone suggest a reason for, or potential fix to, Cufflinks quitting with the following error?

    terminate called after throwing an instance of 'std::bad_alloc'

    I am running Cufflinks 0.9.3 on an Amazon instance of Fedora linux with 7GB of memory (and 500Gb storage). I am analyzing large (Illumina PE 101bp HiSeq) .bam files (>5Gb).

    As I am using the Amazon EC2, I can activate another instance with more 'RAM' (up to 32GB), and see if this helps. I will post for others' reference to see if this fixes my problem. If anyone has suggestions though, please post for my reference!

    Any other comments are much appreciated.

    Thanks,
    Dan

    Update: After trying a few different things and talking briefly with Adam Roberts (Developer on Cufflinks), it seems like the problem is with the specific binary that I downloaded (linux x86_64) and the specific version of linux I was running (fedora). I was able to fix the problem by running this locally on my mac using the Mac OSX binary. Alternatively, it was suggested to build Cufflinks from source rather than grabbing a binary. Had some trouble installing boost libraries, so for now will just stick with OSX. Note: the same library that is throwing the error before now takes >24 hours on a similar machine as what I was running on Linux.
    Last edited by DanWebster; 02-06-2011, 09:32 PM. Reason: Update
  • mmorley
    Junior Member
    • Jul 2009
    • 3

    #2
    Having the same the problem, with no solutions. However our BAM file is 31GB in size. We are running this on a system with 12 cpus and 32GB of RAM.

    Any advice would be greatly appreciated.

    Comment

    • Aurelien Mazurie
      Member
      • Feb 2011
      • 15

      #3
      I got the same error message with a BAM file of about 500 MB on a 4-CPU machines with 12 GB RAM. It is a 64 bits Linux distribution (kernel 2.6.18); I will try to launch the same cufflink job on my Mac to see if it makes a difference.

      Aurelien

      Comment

      • pascal
        Junior Member
        • Mar 2010
        • 9

        #4
        I compiled cuffdiff from source and still get this error:

        terminate called after throwing an instance of 'std::bad_alloc'
        what(): std::bad_alloc

        I am using cufflinks 1.0.3 on Ubuntu 10.10, kernel 2.6.35-30-generic.

        Pascal

        Comment

        • mauro.pala
          Junior Member
          • Jun 2011
          • 4

          #5
          Hi all,

          I'm having the same problem running cufflinks v1.0.3 on a 64 bit Centos OS, 16Gb of RAM

          has anyone solved this?


          thanks in advance


          M.

          Comment

          • pascal
            Junior Member
            • Mar 2010
            • 9

            #6
            For me it turned out, that this error message probably occurred due to insufficient memory. I ran the same job on a cluster without any problems. Cuffdiff used over 32GB of ram + some swap.

            Comment

            • DZhang
              Senior Member
              • Jun 2010
              • 177

              #7
              Hi,

              I just finished a project with cufflinks last week (Redhat 64bit with latest Tophat and Cufflinks, 24 cores and 32G memory) without any problem. One way to trouble-shoot is to reduce the read counts and/or split the reference sequences. Usually if memory is the bottleneck, these measures will solve the problem, or at least confirm the root cause.

              Thank you,
              Douglas

              Comment

              • Giles
                Member
                • Feb 2010
                • 39

                #8
                sudden std bad alloc

                I've been running bedtools on a virtual machine and have used genomeCoverageBed to make bedgraph files for months now. I didn't change anything, and all of a sudden the script throws std bad alloc. How was there enough memory yesterday but not today? Any ideas on how I can troubleshoot? I'm completely at a loss.

                Comment

                • tacuberto
                  Junior Member
                  • Nov 2013
                  • 2

                  #9
                  Hi Everyone

                  I have the same error, but i haven't access to a cluster.
                  My pc is using UBUNTU 12.04, Newbler 2.3.
                  It is 4 gb RAM
                  ...i have the error:
                  "...terminate called after throwing an instance of 'std::bad_alloc'
                  what(): St9bad_alloc

                  Error: An internal error (exit status 134) has occurred in the computation.
                  Please report this error to your customer support representative."

                  Any solution?

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    You are most likely running out of memory. 4GB is unfortunately just not enough for many things now.

                    Comment

                    • tacuberto
                      Junior Member
                      • Nov 2013
                      • 2

                      #11
                      Originally posted by GenoMax View Post
                      You are most likely running out of memory. 4GB is unfortunately just not enough for many things now.
                      Do you know if there is some public server to run the assembly?

                      Comment

                      • DZhang
                        Senior Member
                        • Jun 2010
                        • 177

                        #12
                        check here: https://usegalaxy.org/

                        Thank you,
                        Douglas

                        Comment

                        Latest Articles

                        Collapse

                        • seqadmin
                          Pathogen Surveillance with Advanced Genomic Tools
                          by seqadmin




                          The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
                          03-24-2025, 11:48 AM
                        • seqadmin
                          New Genomics Tools and Methods Shared at AGBT 2025
                          by seqadmin


                          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                          The Headliner
                          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                          03-03-2025, 01:39 PM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by seqadmin, Today, 12:59 PM
                        0 responses
                        6 views
                        0 reactions
                        Last Post seqadmin  
                        Started by seqadmin, Yesterday, 10:17 AM
                        0 responses
                        8 views
                        0 reactions
                        Last Post seqadmin  
                        Started by seqadmin, 03-20-2025, 05:03 AM
                        0 responses
                        49 views
                        0 reactions
                        Last Post seqadmin  
                        Started by seqadmin, 03-19-2025, 07:27 AM
                        0 responses
                        60 views
                        0 reactions
                        Last Post seqadmin  
                        Working...