Getting an out of memory error when installing 3.4.2.3 on RHEL 7.2


I am doing multiple-step installations of TRIRIGA Application Platform on Red Hat Enterprise Linux (RHEL) 7.2 platform. I am installing TRIRIGA 3.4, then 3.4.2, then 3.4.2.3. I have WebSphere Application Server (WAS) ND 8.5.5.5. I have multiple environments. I keep running into little issues.

So far, I have not been able to install TRIRIGA (any version) in one try. The latest error I have received, when installing version 3.4.2.3, is an out-of-memory error. Can anyone tell me how much memory I really need? This is what I have in the error:

[5/16/16 12:12:03:058 EDT] 00000021 SystemErr R java.lang.OutOfMemoryError: Java heap space
[5/16/16 12:12:03:059 EDT] 00000021 SystemErr R at java.io.PrintStream.(PrintStream.java:130)
[5/16/16 12:12:03:059 EDT] 00000021 SystemErr R at java.io.PrintStream.(PrintStream.java:176)java.lang.OutOfMemoryError: Java heap space at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1905)
[5/16/16 12:12:03:059 EDT] 000000bf SystemErr R
[5/16/16 12:12:03:059 EDT] 000000bf SystemErr R Caused by: java.lang.OutOfMemoryError: Java heap space

This is caused by not enough memory being allocated to the WAS install script. There is a memory setting: JVM_EXTRA_CMD_ARGS that is targeted to be added in the next release, reported with APAR IV82864. You can get around this by adding a new line (2nd line) to the was-ant file (Linux/UNIX):

export JVM_EXTRA_CMD_ARGS=”-Xms524m -Xmx4096m”

For Windows, edit was-ant.bat and add a new 2nd line:

set JVM_EXTRA_CMD_ARGS=”-Xms524m -Xmx4096m”

Then, you can run the command:

was-ant was-deploy

That will completely set up WAS ND, and not run out of memory.

Continue reading

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s