Uploaded image for project: 'Barna Package'
  1. Barna Package
  2. BARNA-240

Capacitor runs out of Heap Space with some BAM files

    XMLWordPrintable

Details

    Description

      [ERROR] Execution failed!
      The Flux capacitor tool run into memory problems !Please use the FLUX_MEM environment variable to increase the memory. For example: export FLUX_MEM="6G"; flux-capacitor ... to use 6 GB of memory.
      [ERROR] Current memory setting : 23665 MB
      [ERROR] Tool that run into memory issues: capacitor
      [ERROR] Out of memory stack-trace: java.util.Collections.unmodifiableList(Collections.java:1149)
      java.lang.OutOfMemoryError: Java heap space
      	at java.util.Collections.unmodifiableList(Collections.java:1149)
      	at net.sf.samtools.Cigar.getCigarElements(Cigar.java:50)
      	at net.sf.samtools.SAMRecord.getAlignmentBlocks(SAMRecord.java:1374)
      	at net.sf.samtools.SAMRecord.validateCigar(SAMRecord.java:1413)
      	at net.sf.samtools.BAMRecord.getCigar(BAMRecord.java:247)
      	at net.sf.samtools.SAMRecord.getAlignmentEnd(SAMRecord.java:456)
      	at net.sf.samtools.BAMFileReader$BAMQueryFilteringIterator.advance(BAMFileReader.java:737)
      	at net.sf.samtools.BAMFileReader$BAMQueryFilteringIterator.next(BAMFileReader.java:685)
      	at net.sf.samtools.BAMFileReader$BAMQueryFilteringIterator.next(BAMFileReader.java:638)
      	at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:641)
      	at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:619)
      	at barna.io.sam.SAMMappingIterator.init(SAMMappingIterator.java:39)
      	at barna.io.sam.SAMMappingIterator.<init>(SAMMappingIterator.java:30)
      	at barna.io.sam.SAMReader.read(SAMReader.java:116)
      	at barna.flux.capacitor.reconstruction.FluxCapacitor.explore(FluxCapacitor.java:2658)
      	at barna.flux.capacitor.reconstruction.FluxCapacitor.call(FluxCapacitor.java:1726)
      	at barna.flux.capacitor.reconstruction.FluxCapacitor.call(FluxCapacitor.java:76)
      	at barna.commons.launcher.Flux.main(Flux.java:212)
      

      Attachments

        Activity

          People

            emilio Emilio Palumbo
            emilio Emilio Palumbo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: