Skip to content

Commit

Permalink
avoid OOM error while deployment in jsf tck
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph committed Mar 14, 2022
1 parent f08f807 commit 95ff62c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/jsftck.sh
Expand Up @@ -61,6 +61,9 @@ export PATH=$JAVA_HOME/bin:$PATH
which java
java -version

# to avoid OOM error while deployment
sed -i.bak 's/-Xmx512m/-Xmx1024m/g' $TCK_HOME/$GF_TOPLEVEL_DIR/glassfish/domains/domain1/config/domain.xml

cd $TCK_HOME/$GF_TOPLEVEL_DIR/bin
./asadmin start-domain

Expand Down

0 comments on commit 95ff62c

Please sign in to comment.