Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

Why am I getting the - too small running heap when running Java?

Asked by Amanda Hawes Oct 13, 2022 1.1K views 1 answer
Share

About this question

 I'm trying to run the Java program trimmomatic.jar and I'm getting an error related to "initial heap". Any idea what this is?


java -Xmx500 -jar trimmomatic.jar PE -threads 20 -phred33 ../ERR318658.1.fastq ../ERR318658.2.fastq ERR318658.1_kneaddata.trimmed.1.fastq ERR318658.1_kneaddata.trimmed.single.1.fastq ERR318658.1_kneaddata.trimmed.2.fastq ERR318658.1_kneaddata.trimmed.single.2.fastq
Error:
Error occurred during initialization of VM
Too small initial heap


Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.