Spades assembly fail - Memory error???

Hello,

I am new to genome ASSEMBLY and galaxy. While running Spades ( toolshed.g2.bx.psu.edu/repos/nml/spades/spades/3.12.0+galaxy1) the tool failed and gave me this error message. Fatal error: Exit code 1 ()
Out of memory error: Out of memory error occurred.

How can I fix this?

Thanks