When following command is executed, out of memory is coming when below script compiles java files.
deployer.sh -t entitydeployer
Entitydeployer target is also called from Fix Pack installation. Similar out of memory can occur from Fix Pack installation also.
Out of memory error when [javac] target is invoked as part of entitydeployer. javac target compiles all the database java files generated earlier as part of entitydeployer.
Less memory available to compile all the database java files together.
Diagnosing the problem
deployer.sh script does not read java arguments from environment. It reads java arguments from sandbox.cfg file. Following two parameters are read from sandbox.cfg file
Resolving the problem
1. Edit sandbox.cfg file and edit following two parameters. Increase memory parameters
2. Run setupfiles.sh
After above two steps entitydeployer can be executed again.
Sample value for above parameters