# 1.2 Software
## Download and execute iPeriGrain
- iPeriGrain and its source code can be downloaded from [Github](https://github.com/ncku-arsem/iPeriGrain).
- Double click "RunGrainSizing.bat" to execute the software.

---
## Change RAM size for iPeriGrain
- The default RAM size for iPeriGrain is 1G (1024MB). Users can change the RAM size if necessary.
- Steps for increasing RAM for iPeriGrain
1. Open CMD
2. Change to the folder where "GrainSizing-1.0-jfx.jar" is in.
3. Key in:
`java -Dlogging.config=classpath:resource/log4j2.xml -Xmx2048m -jar GrainSizing-1.0-jfx.jar`
This command gives iPeriGrain 2048MB
- The maximum RAM size can be assigned to iPeriGrain is half of the computer's RAM.