broadinstitute / pilon

Pilon is an automated genome assembly improvement and variant detection tool
GNU General Public License v2.0
338 stars 60 forks source link

No output after scanning BAMs #98

Open NicMAlexandre opened 5 years ago

NicMAlexandre commented 5 years ago

pilon -Xmx1000G --genome BTH.fasta --frags aln_chi.bam --output pilon1 --fix all --mindepth 0.5 --changes --verbose --threads 20

The following is my job, which when I submit, gets to the Scanning BAMs stage and the job ends with no output.

NicMAlexandre commented 5 years ago

If I reduce -Xmx at all, I get the following:

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 5664407552 bytes for committing reserved memory.

Possible reasons:

The system is out of physical RAM or swap space

In 32 bit mode, the process size limit was hit

Possible solutions:

Reduce memory load on the system

Increase physical memory or swap space

Check if swap backing store is full

Use 64 bit Java on a 64 bit OS

Decrease Java heap size (-Xmx/-Xms)

Decrease number of Java threads

Decrease Java thread stack sizes (-Xss)

Set larger code cache with -XX:ReservedCodeCacheSize=

This output file may be truncated or incomplete.

#

Out of Memory Error (os_linux.cpp:2640), pid=93965, tid=0x00002ca464aa5700

#

JRE version: OpenJDK Runtime Environment (8.0_152-b12) (build 1.8.0_152-release-1056-b12)

Java VM: OpenJDK 64-Bit Server VM (25.152-b12 mixed mode linux-amd64 )

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

NicMAlexandre commented 5 years ago

Although I see many threads about this issue, I'm not sure how to split the job into multiple targets.