I am trying to align two collections of 4 single-end RNA-Seq fastq files (8 fastq files total) from human skin samples to a reference genome using RNA STAR. I have no problem aligning to the hg19 reference genome but run into memory issues when aligning to the hg38. I've tried twice for each reference genome and have been successful twice with hg19 and failed twice with hg38. The error message I receive when using hg38 as the reference is:
"This job was terminated because it used more memory than it was allocated."
I'm hoping someone can help me understand what's going on here and what I might do to fix it!