# SPAdes error -- running out of memory/not enough memory allocated for job

**URL:** <https://help.galaxyproject.org/t/spades-error-running-out-of-memory-not-enough-memory-allocated-for-job/12654>\
**Category:** Resources\
**Tags:** spades, exceeds-memory-error, resources\
**Created:** [June 6, 2024, 6:39pm UTC](https://help.galaxyproject.org/t/spades-error-running-out-of-memory-not-enough-memory-allocated-for-job/12654 "2024-06-06T18:39:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [June 6, 2024, 9:15pm UTC](https://help.galaxyproject.org/t/spades-error-running-out-of-memory-not-enough-memory-allocated-for-job/12654/2 "2024-06-06T21:15:06Z")

</div>

Hi @Daniel_Hogan

Error message

> This job was terminated because it used more memory than it was allocated.

You are working at [UseGalaxy.org](http://UseGalaxy.org), correct? Try running this job at [UseGalaxy.eu](http://UseGalaxy.eu) or [UseGalaxy.org.au](http://UseGalaxy.org.au) to see if those servers can handle the job instead. Each public server offers distinct public computational resources. Details → [Public Galaxy Servers](https://help.galaxyproject.org/docs?topic=10860)

Other troubleshooting options include:

1. Use **Sub-sample sequences files** e.g. to reduce coverage. This is a pretty common solution. More coverage is not necessarily “better” during initial assembly steps, and for scientific reasons, too.

2. Run SPAdes through **Shovill** Faster SPAdes assembly of Illumina reads.

- Why? The logs are _very_ informative and can give some clues about how to better tune parameters to fit your data when you rerun (with SPAdes directly or with this same tool-around-a-tool).

1. Or, tune parameters on your own, maybe by reviewing some publications that also work with your target species. Defaults are unlikely to be the best fit for real data. To match things up: know that options are labeled on the tool form with the command line flags (try a browser search), and the Galaxy command line is captured on the same place you found the other logs (“i” icon).

Hope this helps! 🙂

---

_[View the full topic](https://help.galaxyproject.org/t/spades-error-running-out-of-memory-not-enough-memory-allocated-for-job/12654)._
