if your laptop's RAM lower than 32 GB , it will not work, actually you can start alignment but after same time the process going to stop and you will get a massage like 'Process Killed'.
I have used STAR for Human data analysis and it's very powerful tool and super fast. As our colleges mentioned above we need more information regarding you analysis to help you !
generally speaking first step is generating Genome Index "assuming it's Human data download Reference data with it's annotation and i highly recommend you to use GeneCod data base 'https://www.gencodegenes.org"
STAR --runThreadN 8 --runMode genomeGenerate --genomeDir 'pathToYourGenome' --genomeFastaFiles 'PathToYourFastaFile' --sjdbGTFfiles 'PathToYourGTFfile' --sjdbOverhang 100
*genomeDir= is where to placed indexed genome
*sjdbOverhang= specified the length of the genomics sequenced around annotated junctions for construction the splicing junction database it's correspond to the read length of you RNASeq data (value of 100 will usually 'Not allows' work with most cases)
* this process will take around 30 Min. "for me" and it's dependent on machine specifications
second step Mapping:
STAR --runThreadN 8 --runMode alignReads --genomeDir 'pathToYourIndexedGenome' --readFilesIn 'pathToYourReadR1&R2' --outSAMtype BAM SortedByCoordinate
*For advance option see STAR manual 'https://physiology.med.cornell.edu/faculty/skrabanek/lab/angsd/lecture_notes/STARmanual.pdf'
Now you are done with STAR and you can proceed with GATK for Alignment post processing and variant calling, i highly recommend you to follow GATK best practices 'https://gatk.broadinstitute.org/hc/en-us/articles/360035531192-RNAseq-short-variant-discovery-SNPs-Indels-'
If you have Limited RAM, then STAR not for you and try to find another tools like:
GSNAP, TopHat2, MapSplice < i did not test any one of them myself "Not Sure about system requirements"