Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with trinity and jellyfish bongbimit Bioinformatics 2 05-13-2015 02:01 AM
Trinity Assembly Bang_Didi RNA Sequencing 6 01-11-2015 07:45 PM
Inchworm on Trinity Pol8 Bioinformatics 0 10-13-2014 06:30 AM
trinity error jjjscuedu De novo discovery 2 06-01-2014 01:46 PM
Trinity Help dmacmillan De novo discovery 5 05-11-2012 11:20 AM

Thread Tools
Old 05-13-2015, 01:56 PM   #1
Location: Milwaukee

Join Date: Dec 2011
Posts: 72
Default 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?
gwilymh is offline   Reply With Quote

butterfly, denovo assembly, java error, trinity

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 09:24 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO