Unconfigured 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

                        • SEQadmin2
                          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                          by SEQadmin2


                          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                          ...
                          Yesterday, 10:05 AM
                        • SEQadmin2
                          Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                          by SEQadmin2


                          With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                          Introduction

                          Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                          05-22-2026, 06:42 AM
                        • SEQadmin2
                          Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                          by SEQadmin2

                          Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                          Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                          05-06-2026, 09:04 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, Yesterday, 12:03 PM
                        0 responses
                        19 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 11:40 AM
                        0 responses
                        14 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 05-28-2026, 11:40 AM
                        0 responses
                        29 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 05-26-2026, 10:12 AM
                        0 responses
                        31 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...