Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gwilymh
    Member
    • Dec 2011
    • 72

    #1

    How best to use --bflyHeapSpaceMax and --bflyGCThreads on Trinity

    I am currently using trinity v2.6.0. My jobs keep crashing at the butterfly stage of the analysis, with such error messages as:
    succeeded(1008), failed(108076) 99.9771% completed. Invalid maximum heap size: -Xmx16G
    The specified size exceeds the maximum representable size.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.

    There is clearly a problem with assigning enough memory to the JVM. My overall memory and CPU allocation for the last job I ran were:
    #PBS -l procs=64
    #PBS -l mem=1048320mb

    and the run parameters of Trinity were:
    --max_memory 1024G \
    --bflyHeapSpaceMax 16G \
    --bflyGCThreads 16 \
    --normalize_reads \
    --CPU 64 \


    I would like to know what the --bflyHeapSpaceMax option specifies. Is it the maximum JVM heap space overall, or for each thread Trinity has generated?

    Should I simply set the --bflyHeapSpaceMax to the same value as --max_memory?

    I understand that the --bflyGCThreads option removes objects from the JVM once they are no longer in use, and in doing so frees up the memory. Is this correct?

    Should I allocate on butterfly GC thread for each CPU/thread used by Trinity?

    Does Trinity generate more than one butterfly GC thread on a single CPU?

Latest Articles

Collapse

  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by SEQadmin2




    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
    Yesterday, 06:46 AM
  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
29 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
71 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...