Increasing JVMs Xms size in the batch file will give the memory to the app email2case in order to work efficiently.
Steps to increase Batch size limit in the email2case build:
1. Open your email2case build.
2. Right Click on the Batch file
3. Click on Edit
JVM xms limit depends on your machine condition (Ram)