memory
The memory directive defines how much memory is required by each task execution. For example:
process hello {
memory 2.GB
script:
"""
your_command --here
"""
}
The following suffixes can be used to specify memory values:
B: BytesKB: KilobytesMB: MegabytesGB: GigabytesTB: Terabytes
See MemoryUnit for more information.
See also: cpus, disk, time, queue, dynamic task resources