view README.rst @ 3:bc4e467da875 draft

planemo upload for repository commit 7f726b691ead726864f1b67230cb5d58e16b5f58
author iuc
date Fri, 15 Dec 2017 07:57:13 -0500
parents 570f2b1f3cd9
children 4687ecf0eb2d
line wrap: on
line source

Trinity memory usage

As described on the official Trinity website
`FAQ <>`_,
trinity requires a large amount of memory to perform the assembly: "roughly
~1G of RAM per 1M reads to be assembled"

By default, this tool is configured to limit the memory consumption to 1G.
You might need to lower this limit if the machine(s) executing the jobs have less memory available.
If you have a lot of reads to assemble and a machine with enough memory, you can increase it.
In both cases, you can set the TRINITY_MAX_MEMORY environmental variable in the destination section of the job_conf.xml file::

    <?xml version="1.0"?>
    <!-- A sample job config that explicitly configures job running the way it is configured by default (if there is no explicit config). -->
            <plugin id="local" type="runner" load="" workers="4"/>
            <handler id="main"/>
            <destination id="local" runner="local">
                <env id="TRINITY_MAX_MEMORY">1G</env>